InvalidIdFailure class final
An id failed the validator registered for its type.
- Inheritance
-
- Object
- IdRegistryFailure
- InvalidIdFailure
Constructors
- InvalidIdFailure({required String idType, required String idCode})
-
Records that
idType:idCodedid not pass its validator.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- idCode → String
-
The code that failed validation.
final
- idType → String
-
The id type whose validator refused.
final
- message → String
-
A caller-facing description of the refusal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 ==(
Object other) → bool -
The equality operator.
inherited