Files
Electron.NET/src/ElectronNET.API/API/Entities/OnDidFailLoadInfo.cs
2025-11-22 02:24:32 +01:00

38 lines
979 B
C#

namespace ElectronNET.API.Entities;
/// <summary>
/// 'OnDidFailLoad' event details.
/// </summary>
public class OnDidFailLoadInfo
{
/// <summary>
/// The full list of error codes and their meaning is available here
/// https://source.chromium.org/chromium/chromium/src/+/main:net/base/net_error_list.h
/// </summary>
public int ErrorCode { get; set; }
/// <summary>
/// Validated URL.
/// </summary>
public string ValidatedUrl { get; set; }
/// <summary>
/// Error description string.
/// </summary>
public string ErrorDescription { get; set; }
/// <summary>
/// True if the event pertains to the main frame.
/// </summary>
public bool IsMainFrame { get; set; }
/// <summary>
/// The process id for the frame.
/// </summary>
public int FrameProcessId { get; set; }
/// <summary>
/// The routing id for the frame.
/// </summary>
public int FrameRoutingId { get; set; }
}