ExceptionHandlerModel constructor
ExceptionHandlerModel({
- bool? exceptionParseHandle(
- Exception exception
- ExceptionExplanationModel? exceptionParseHandleModel,
Creates an ExceptionHandlerModel instance.
exceptionParseHandle
: A function that can handle exceptions of type Exception.exceptionParseHandleModel
: An explanation model for handling exceptions.
Implementation
ExceptionHandlerModel({
this.exceptionParseHandle,
this.exceptionParseHandleModel,
});