ExceptionHandlerModel constructor

ExceptionHandlerModel({
  1. bool? exceptionParseHandle(
    1. Exception exception
    )?,
  2. 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,
});