namespace ElectronNET.API.Entities;
///
/// 'OnDidFailLoad' event details.
///
public class OnDidFailLoadInfo
{
///
/// 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
///
public int ErrorCode { get; set; }
///
/// Validated URL.
///
public string ValidatedUrl { get; set; }
///
/// Error description string.
///
public string ErrorDescription { get; set; }
///
/// True if the event pertains to the main frame.
///
public bool IsMainFrame { get; set; }
///
/// The process id for the frame.
///
public int FrameProcessId { get; set; }
///
/// The routing id for the frame.
///
public int FrameRoutingId { get; set; }
}