controllerHandlers property

Map<Type, IAppErrorHandler Function()> controllerHandlers
final

Represents the collection of controller handlers that will extend IAppErrorHandler in order to handle the errors globally. Useful when using providers in your application for state management

Example using riverpod:

class ExampleNotifier extends AsyncNotifier<ExampleState> implements IErrorHandler {...}

Implementation

final Map<Type, IAppErrorHandler Function()> controllerHandlers;