new CloverError(code, messageopt, causeopt)
Error class for Clover specific errors.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
code |
string | a code to classify the error. | |
message |
string |
<optional> |
the error message |
cause |
Error |
<optional> |
the original cause of the error if this wraps some lower level system error. |
- Source:
Members
(static) CANCELED
CANCELED
- Source:
(static) COMMUNICATION_ERROR
COMMUNICATION_ERROR
- Source:
(static) CONNECTION_DENIED
DISCOVERY_TIMEOUT
- Source:
(static) DEVICE_ERROR
DEVICE_ERROR
- Source:
(static) DEVICE_NOT_FOUND
DEVICE_NOT_FOUND
- Source:
(static) DEVICE_OFFLINE
DEVICE_OFFLINE
- Source:
(static) DISCOVERY_TIMEOUT
DISCOVERY_TIMEOUT
- Source:
(static) ERROR
General Error
- Source:
(static) INCOMPLETE_CONFIGURATION
INCOMPLETE_CONFIGURATION
- Source:
(static) INVALID_DATA
INVALID_DATA
- Source:
(static) NOT_IMPLEMENTED
NOT_IMPLEMENTED
- Source: