Skip to content

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:

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; }

Released under the MIT License.