AngelHttpException constructor

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

Implementation

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