PushException

open class PushException(val errorCode: PushException.ErrorCode, val message: String? = null) : Exception

Exception thrown when there is an error in the push module. This is the base exception for all push exceptions.

Inheritors

Constructors

Link copied to clipboard
constructor(errorCode: PushException.ErrorCode, message: String? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
open override val message: String? = null

Functions

Link copied to clipboard
fun toJson(): JSONObject

Returns the error message as a JSON object to be sent to the server.