SendException

class SendException : Exception


Firebase message send exception.

This will be passed to onSendError on errors that prevented a message from being sent via send

Summary

Constants

const Int

Message was sent with invalid parameters.

const Int

Message exceeded the maximum payload size.

const Int

App has too many pending messages so this one was dropped.

const Int

Message time to live (TTL) was exceeded before the message could be sent.

const Int

Unknown error.

Public properties

Int

Constants

ERROR_INVALID_PARAMETERS

const val ERROR_INVALID_PARAMETERS = 1: Int

Message was sent with invalid parameters.

ERROR_SIZE

const val ERROR_SIZE = 2: Int

Message exceeded the maximum payload size.

ERROR_TOO_MANY_MESSAGES

const val ERROR_TOO_MANY_MESSAGES = 4: Int

App has too many pending messages so this one was dropped.

ERROR_TTL_EXCEEDED

const val ERROR_TTL_EXCEEDED = 3: Int

Message time to live (TTL) was exceeded before the message could be sent.

ERROR_UNKNOWN

const val ERROR_UNKNOWN = 0: Int

Unknown error.

Public properties

errorCode

val errorCodeInt