EmergencyAlertError

open class EmergencyAlertError : Error

Constructors

Link copied to clipboard
open fun EmergencyAlertError(code: Int, @Nullable message: String)
Constructor to define a new Emergency Alert error.

Types

Link copied to clipboard
annotation class ErrorCode
fail reasons when launch an emergency alert

Functions

Link copied to clipboard
open fun getCode(): Int
Get the error code.
Link copied to clipboard
open fun getMessage(): String
Get the description message for the error.