ControllerUnhandledErrorException constructor

ControllerUnhandledErrorException(
  1. BaseController controller,
  2. Object error, [
  3. StackTrace stackTrace = StackTrace.empty
])

Exception thrown when an unhandled error occurs within a controller.

Note: thrown in debug mode only

Implementation

ControllerUnhandledErrorException(
  this.controller,
  this.error, [
  this.stackTrace = StackTrace.empty,
]);