AngelHttpException constructor

AngelHttpException(
  1. dynamic error, {
  2. String message = '500 Internal Server Error',
  3. StackTrace? stackTrace,
  4. int statusCode = 500,
  5. List<String> errors = const [],
})

Implementation

AngelHttpException(this.error,
    {this.message = '500 Internal Server Error',
    this.stackTrace,
    this.statusCode = 500,
    List<String> errors = const []}) {
  this.errors.addAll(errors);
}