ErrorExitException constructor

ErrorExitException([
  1. String? reason,
  2. Object? nestedException,
  3. StackTrace? nestedStackTrace
])

Creates an ErrorExitException. Provide a reason and causing exception if available which aids in testing and debugging.

Implementation

ErrorExitException([
  this.reason,
  this.nestedException,
  this.nestedStackTrace,
]) : super.error();