Class BehaviorFault
Namespace: Cephalon.Abstractions.Behaviors
Assembly: Cephalon.Abstractions.dll
Represents a structured fault from a behavior execution.
public sealed class BehaviorFaultInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”BehaviorFault()
Section titled “ BehaviorFault()”Initializes a new instance of
public BehaviorFault()Properties
Section titled “Properties”Gets or sets the fault code.
public string Code { get; init; }Property Value
Section titled “Property Value”Details
Section titled “ Details”Gets or sets additional fault details.
public string? Details { get; init; }Property Value
Section titled “Property Value”InnerFaults
Section titled “ InnerFaults”Gets or sets nested faults.
public IReadOnlyList<BehaviorFault> InnerFaults { get; init; }Property Value
Section titled “Property Value”Message
Section titled “ Message”Gets or sets the fault message.
public string Message { get; init; }Property Value
Section titled “Property Value”Severity
Section titled “ Severity”Gets or sets the fault severity.
public BehaviorFaultSeverity Severity { get; init; }