RescueContext
Namespace: Hex1b
Assembly: Hex1b.dll
A widget context for building rescue fallback UI. Provides access to error information and the ability to reset the rescue state.
csharp
public sealed class RescueContext : WidgetContext<VStackWidget>Inheritance
Object → WidgetContext<VStackWidget> → RescueContext
Properties
ErrorPhase
The phase in which the error occurred (Reconcile, Measure, Arrange, Render).
Returns: RescueErrorPhase
csharp
public RescueErrorPhase ErrorPhase { get; }Exception
The exception that was caught.
Returns: Exception
csharp
public Exception Exception { get; }Methods
Reset()
Resets the rescue state, causing the next render cycle to retry the child widget. This triggers internal cleanup and then invokes any OnReset handler.
csharp
public void Reset()