RescueEventArgs
Namespace: Hex1b.Events
Assembly: Hex1b.dll
Event arguments for when a rescue widget catches an exception.
csharp
public sealed record RescueEventArgs : IEquatable<RescueEventArgs>Inheritance
Object → RescueEventArgs
Implements
Constructors
RescueEventArgs(RescueWidget, RescueNode, Exception, RescueErrorPhase)
Event arguments for when a rescue widget catches an exception.
Parameters:
Widget(RescueWidget): The rescue widget that caught the exception.Node(RescueNode): The rescue node.Exception(Exception): The exception that was caught.Phase(RescueErrorPhase): The phase in which the error occurred.
csharp
public RescueEventArgs(RescueWidget Widget, RescueNode Node, Exception Exception, RescueErrorPhase Phase)Properties
Exception
The exception that was caught.
Returns: Exception
csharp
public Exception Exception { get; init; }Node
The rescue node.
Returns: RescueNode
csharp
public RescueNode Node { get; init; }Phase
The phase in which the error occurred.
Returns: RescueErrorPhase
csharp
public RescueErrorPhase Phase { get; init; }Widget
The rescue widget that caught the exception.
Returns: RescueWidget
csharp
public RescueWidget Widget { get; init; }