2023-11-03 00:23:37 +01:00
|
|
|
|
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; }
|
2025-11-22 02:16:10 +01:00
|
|
|
|
|
|
|
|
|
|
/// <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; }
|
2025-11-15 08:05:31 +01:00
|
|
|
|
}
|