AmplifyException class
Thrown from top level Amplify APIs from the amplify-flutter package. All other Amplify APIs throw subclasses of AmplifyException.
- Implemented types
- Implementers
- Annotations
Constructors
- AmplifyException(String message, {String? recoverySuggestion, String? underlyingException})
-
Named constructor
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- message → String
-
Message contained in the exception
final
- recoverySuggestion → String?
-
How to recover from this exception (Optional)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- underlyingException → String?
-
Underlying cause of this exception helpful for debugging (Optional)
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.
override
Static Methods
-
fromMap(
Map< String, String> serializedException) → AmplifyException -
Instantiates and return a new
AmplifyException
from the serialized exception data