FailureInfo

References
public class FailureInfo
Collation of data fields describing a particular load failure.

Constructors

FailureInfo

#
public FailureInfo(string location, string reason, FailureKind kind, Exception exception = null)
Create a new Plugin load failure information block.
location (string)Location of plugin.
reason (string)Reason of failure.
kind (FailureKind)Failure kind.
exception (Exception = null)Failure exception, if any.

Properties

Empty

#
public static FailureInfo Empty { get; }
Gets the empty failure.

Exception

#
public Exception Exception { get; }
Gets the exception (if any) associated with the load failure.

Kind

#
public FailureKind Kind { get; }
Gets the kind of load failure.

Location

#
public string Location { get; }
Gets the location of the plugin this failure pertains to.

Reason

#
public string Reason { get; }
Gets the reason for the load failure.