LoneWorkerError

open class LoneWorkerError : Error

Fail reasons when starting LoneWorker service

Constructors

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

Types

Link copied to clipboard
annotation class ErrorCode
fail reasons when load contacts

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.