AWSErrorResult<V extends Object?, E extends Exception> class final

A failed AWSResult.

For failed results, value will always throw and exception is guaranteed to not be null.

Inheritance
Mixed in types

Constructors

AWSErrorResult(E exception, [StackTrace? stackTrace])
A failed AWSResult.
const

Properties

exception → E
The exception that occurred while attempting to retrieve the value.
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The type's equatable properties.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setteroverride
stackTrace StackTrace?
The original stack trace of exception, if provided.
final
type AWSResultType
Indicates if the result was a success.
no setteroverride
value → V
The value of the result, if the result was successful.
no setteroverride
valueOrNull → V?
The value of the result, or null if there was an error retrieving it.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes this as a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited