onError property

void Function(DescopeException error)? onError
getter/setter pair

Called with a DescopeException when a flow has encountered an error. Typically a flow will not to be restarted at this point.

Implementation

void Function(DescopeException error)? onError;