UnsealError class
A custom exception for errors occurring during the unsealing of a single sealed data element.
- Implemented types
Constructors
- UnsealError({required String message, int statusCode = 400, dynamic errorData})
-
Creates an
UnsealErrorinstance with a message and optional error details.
Properties
- errorData → dynamic
-
Optional additional details or metadata about the error.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A human-readable description of the unsealing error.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
The HTTP status code (defaulting to 400).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited