public static enum OCastError.Status implements ErrorStatus
Represents the status of an class OCastError
.
class OCastError
ErrorStatus.Companion
Enum Constant and Description |
---|
CLIENT_ERROR
There is an error in the OCast SDK.
|
DECODE_ERROR
There was an error while decoding the message.
|
DEVICE_LAYER_FORBIDDEN_UNSECURE_MODE
The client has no right to access the required destination or service.
|
DEVICE_LAYER_INTERNAL_ERROR
There is an internal OCast device layer error.
|
DEVICE_LAYER_JSON_FORMAT_ERROR
There is a badly formatted JSON in the received OCast device layer.
|
DEVICE_LAYER_MISSING_MANDATORY_FIELD
There is a missing mandatory field in the received OCast device layer.
|
DEVICE_LAYER_MISSING_REPLY_DATA
The reply data is missing in the received OCast device layer.
|
DEVICE_LAYER_MISSING_STATUS
The status is missing in the received OCast device layer.
|
DEVICE_LAYER_UNKNOWN_ERROR
There is an unknown error in the received OCast device layer.
|
DEVICE_LAYER_VALUE_FORMAT_ERROR
There is a malformed value in the received OCast device layer.
|
SUCCESS
There is no error.
|
UNKNOWN_ERROR
There is an unknown error.
|
Companion
Modifier and Type | Method and Description |
---|---|
int |
getCode()
The status code.
|
getCode
public static OCastError.Status SUCCESS
There is no error.
public static OCastError.Status UNKNOWN_ERROR
There is an unknown error.
public static OCastError.Status CLIENT_ERROR
There is an error in the OCast SDK.
public static OCastError.Status DEVICE_LAYER_JSON_FORMAT_ERROR
There is a badly formatted JSON in the received OCast device layer.
public static OCastError.Status DEVICE_LAYER_VALUE_FORMAT_ERROR
There is a malformed value in the received OCast device layer.
public static OCastError.Status DEVICE_LAYER_MISSING_MANDATORY_FIELD
There is a missing mandatory field in the received OCast device layer.
public static OCastError.Status DEVICE_LAYER_FORBIDDEN_UNSECURE_MODE
The client has no right to access the required destination or service.
public static OCastError.Status DEVICE_LAYER_INTERNAL_ERROR
There is an internal OCast device layer error.
public static OCastError.Status DEVICE_LAYER_MISSING_STATUS
The status is missing in the received OCast device layer.
public static OCastError.Status DEVICE_LAYER_MISSING_REPLY_DATA
The reply data is missing in the received OCast device layer.
public static OCastError.Status DEVICE_LAYER_UNKNOWN_ERROR
There is an unknown error in the received OCast device layer.
public static OCastError.Status DECODE_ERROR
There was an error while decoding the message.