LoneWorkerError

open fun LoneWorkerError(code: Int, @Nullable message: String)

Constructor to define a new LoneWorker error.

Parameters

code

ErrorCode: the error code

message

String: The error description.