BadRequestException class

Inheritance

Constructors

BadRequestException(String? message, List<ValidationError>? _validationErrors, {RequestBuilder? builder})
BadRequestException.builder()
BadRequestException.parsed(String message, {RequestBuilder? builder})
BadRequestException.single(ValidationError error)
BadRequestException.singleField(String path, String message, {String? keyword})

Properties

builder → RequestBuilder?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isAuthError bool
no setterinherited
isNotEmpty bool
no setter
message String?
finalinherited
payload ApiErrorPayload
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
finalinherited
validationErrors List<ValidationError>
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator +(dynamic other) BadRequestException
operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parseErrors(String message) List<ValidationError>
Parses all validation errors