BadRequest class
Equivalent to a 400 HTTP error.
- Inheritance
-
- Object
- UserException
- ResourceException
- BadRequest
Properties
-
args
→ List<
Object> -
finalinherited
- cause → Object?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parameters
→ Map<
String, String> -
final
- quantity → int?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userMessageId → String
-
finalinherited
Methods
-
getUserMessage(
LocalizationsRepository localizationsRepository, {bool includesCauses = true}) → String -
Gets the localized user-facing message for this exception.
inherited
-
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 ==(
Object other) → bool -
The equality operator.
inherited