AmplifyException class Null safety

Thrown from top level Amplify APIs from the amplify-flutter package. All other Amplify APIs throw subclasses of AmplifyException.

Implemented types
Implementers

Constructors

AmplifyException(String message, {String? recoverySuggestion, String? underlyingException})
Named constructor
const

Properties

hashCode int
The hash code for this object. [...]
read-only, override
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.
read-only, inherited
underlyingException String?
Underlying cause of this exception helpful for debugging (Optional)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object o) bool
The equality operator. [...]
override

Static Methods

fromMap(Map<String, String> serializedException) AmplifyException
Instantiates and return a new AmplifyException from the serialized exception data