SdkFailure<T> class
final
Constructors
- SdkFailure({required SdkErrorKind kind, required String message, bool retryable = false, Object? cause, StackTrace? stackTrace})
-
const
Properties
- cause → Object?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isSuccess → bool
-
no setterinherited
- kind → SdkErrorKind
-
final
- message → String
-
Safe message for consumers; never include raw secrets or payloads here.
final
- retryable → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
final
- value → T?
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override