MessagingClientErrorCode enum
Values
- internal → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'INTERNAL', 'Internal server error.')
- invalidArgument → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'INVALID_ARGUMENT', 'One or more arguments specified in the request were invalid.')
- quotaExceeded → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'QUOTA_EXCEEDED', 'Sending limit exceeded for the message target.')
- senderIdMismatch → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'SENDER_ID_MISMATCH', 'The authenticated sender ID is different from the sender ID for the registration token.')
- thirdPartyAuthError → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'THIRD_PARTY_AUTH_ERROR', 'APNs certificate or web push auth key was invalid or missing.')
-
const MessagingClientErrorCode(code: 'UNAVAILABLE', 'Cloud Messaging service is temporarily unavailable.')
- unregistered → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'UNREGISTERED', 'App instance was unregistered from FCM. ' 'This usually means that the token used is no longer valid and a new one must be use…
- authenticationError → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: null, 'An error occurred when trying to authenticate to the FCM servers. ' 'Make sure the credential used to authenticate this SDK has the proper permi…
- internalError → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: null, 'An internal error occurred when trying to send the message to the FCM servers. ' 'Please try again later.')
- invalidOptions → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: null, 'Invalid message options were provided.')
- invalidPayload → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: null, 'Invalid message payload provided.')
-
const MessagingClientErrorCode(code: null, 'The FCM servers are temporarily unavailable. ' 'Please try again later.')
- unknown → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'UNKNOWN_ERROR', 'Unknown error occurred.')
Properties
- code → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- message → String
-
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
MessagingClientErrorCode> - A constant List of the values in this enum, in order of their declaration.