BadRequestException constructor

const BadRequestException({
  1. required String message,
  2. StackTrace? stackTrace,
  3. dynamic errors,
})

Exception thrown when API returns a 400 response.

Implementation

const BadRequestException({
  required super.message,
  super.stackTrace,
  this.errors,
}) : super(code: 400);