GigyaError class
This class represents the base exception for errors thrown by the Gigya SDK.
- Implemented types
Constructors
-
GigyaError({int? apiVersion, String? callId, Map<
String, Object?> details = const <String, Object?>{}, int? errorCode, String? errorMessage}) -
The default constructor.
const
- GigyaError.fromPlatformException(PlatformException exception)
-
Construct a GigyaError from the given
exception
.factory
Properties
- apiVersion → int?
-
The version number of the Gigya API.
final
- callId → String?
-
The call id of the response.
final
-
details
→ Map<
String, Object?> -
The additional error details.
final
- errorCode → int?
-
The Gigya error code of the response.
final
- errorMessage → String?
-
The error message for the given errorCode.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- registrationToken → String?
-
Get the registration token from the error.
no setter
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited