MessagingClientErrorCode enum
Messaging client error codes and their default messages.
Values
- invalidArgument → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'invalid-argument', message: 'Invalid argument provided.')
- invalidRecipient → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'invalid-recipient', message: 'Invalid message recipient provided.')
- invalidPayload → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'invalid-payload', message: 'Invalid message payload provided.')
- invalidDataPayloadKey → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'invalid-data-payload-key', message: 'The data message payload contains an invalid key. See the reference documentation ' 'for the DataMessageP…
- payloadSizeLimitExceeded → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'payload-size-limit-exceeded', message: 'The provided message payload exceeds the FCM size limits. See the error documentation ' 'for more deta…
- invalidOptions → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'invalid-options', message: 'Invalid message options provided.')
- invalidRegistrationToken → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'invalid-registration-token', message: 'Invalid registration token provided. Make sure it matches the registration token ' 'the client app rece…
- registrationTokenNotRegistered → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'registration-token-not-registered', message: 'The provided registration token is not registered. A previously valid registration ' 'token can …
- mismatchedCredential → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'mismatched-credential', message: 'The credential used to authenticate this SDK does not have permission to send ' 'messages to the device corr…
- invalidPackageName → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'invalid-package-name', message: 'The message was addressed to a registration token whose package name does not match ' 'the provided "res…
- deviceMessageRateExceeded → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'device-message-rate-exceeded', message: 'The rate of messages to a particular device is too high. Reduce the number of ' 'messages sent to thi…
- topicsMessageRateExceeded → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'topics-message-rate-exceeded', message: 'The rate of messages to subscribers to a particular topic is too high. Reduce the ' 'number of messag…
- messageRateExceeded → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'message-rate-exceeded', message: 'Sending limit exceeded for the message target.')
- thirdPartyAuthError → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'third-party-auth-error', message: 'A message targeted to an iOS device could not be sent because the required APNs ' 'SSL certificate was not …
- tooManyTopics → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'too-many-topics', message: 'The maximum number of topics the provided registration token can be subscribed to ' 'has been exceeded.')
- authenticationError → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'authentication-error', message: 'An error occurred when trying to authenticate to the FCM servers. Make sure the ' 'credential used to authent…
-
const MessagingClientErrorCode(code: 'server-unavailable', message: 'The FCM server could not process the request in time. See the error documentation ' 'for more details.')
- internalError → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'internal-error', message: 'An internal error has occurred. Please retry the request.')
- unknownError → const MessagingClientErrorCode
-
const MessagingClientErrorCode(code: 'unknown-error', message: 'An unknown server error was returned.')
Properties
- code → String
-
The error code.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- message → String
-
The default error message.
final
- 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.