HttpBadRequestError<T> constructor

const HttpBadRequestError<T>({
  1. String slug = '',
  2. String msg = '',
  3. String stackTrace = '',
  4. Maybe<T> response = const Nothing(),
  5. Map<String, dynamic> errors = const {},
})

Implementation

const HttpBadRequestError({
  super.slug,
  super.msg,
  super.stackTrace,
  super.response,
  this.errors = const {},
}) : super(
        code: 400,
      );