InsufficientDetail class
Detail/content insufficient for validation.
- Inheritance
-
- Object
- AppError
- ValueError
- InsufficientDetail
Constructors
- InsufficientDetail({required String failedValue, String msg = '', String slug = '', String stackTrace = ''})
-
const
Properties
- failedValue → String
-
The value that provided insufficient detail.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- msg → String
-
A human-readable description of this error.
finalinherited
- payload → Object?
-
An optional payload containing additional data associated with this error.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slug → String
-
A machine-readable identifier for this error (e.g.
'user_not_found').finalinherited - stackTrace → String
-
The stack trace associated with this error, if available.
finalinherited
Methods
-
maybeResponse<
T> () → Maybe< T> -
If this error is an HttpError<T>, returns
Justwith its typed response body; otherwise returnsNothing.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