getExceptionHandler method

bool? Function(Exception exception)? getExceptionHandler({
  1. required ExceptionHandlerModel? exceptionHandlers,
})

Returns the general exception handler function.

  • exceptionHandlers contains a set of custom general exception handling functions.

Returns a function that can handle general Exceptions, or null if none is found.

Implementation

bool? Function(Exception exception)? getExceptionHandler({
  required ExceptionHandlerModel? exceptionHandlers,
}) {
  return exceptionHandlers?.exceptionParseHandle;
}