RecoveryHandler typedef

RecoveryHandler = void Function(EngineContext ctx, Object error, StackTrace stack)

A type definition for the recovery handler function. This function is called when an error occurs during the execution of a middleware.

Implementation

typedef RecoveryHandler =
    void Function(EngineContext ctx, Object error, StackTrace stack);