Skip to content

Class BehaviorFault

Namespace: Cephalon.Abstractions.Behaviors
Assembly: Cephalon.Abstractions.dll

Represents a structured fault from a behavior execution.

public sealed class BehaviorFault

objectBehaviorFault

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes a new instance of .

public BehaviorFault()

Gets or sets the fault code.

public string Code { get; init; }

string

Gets or sets additional fault details.

public string? Details { get; init; }

string?

Gets or sets nested faults.

public IReadOnlyList<BehaviorFault> InnerFaults { get; init; }

IReadOnlyList<BehaviorFault>

Gets or sets the fault message.

public string Message { get; init; }

string

Gets or sets the fault severity.

public BehaviorFaultSeverity Severity { get; init; }

BehaviorFaultSeverity