Edge service error codes. More...
Go to the source code of this file.
Enumerations | |
enum | pt_api_result_code_e { PT_API_SUCCESS = 0, PT_API_UNKNOWN_ERROR = -1, PT_API_INTERNAL_ERROR = -30000, PT_API_PROTOCOL_TRANSLATOR_NOT_REGISTERED = -30001, PT_API_PROTOCOL_TRANSLATOR_ALREADY_REGISTERED = -30002, PT_API_PROTOCOL_TRANSLATOR_NAME_RESERVED = -30003, PT_API_REGISTERED_ENDPOINT_LIMIT_REACHED = -30004, PT_API_ENDPOINT_ALREADY_REGISTERED = -30005, PT_API_EDGE_CORE_SHUTTING_DOWN = -30006, PT_API_REQUEST_TIMEOUT = -30007, PT_API_REMOTE_DISCONNECTED = -30008, PT_API_PROTOCOL_TRANSLATOR_CLIENT_WRITE_ERROR = -30100, PT_API_ILLEGAL_VALUE = -30101, PT_API_RESOURCE_NOT_FOUND = -30102, PT_API_INVALID_JSON_STRUCTURE = -30103, PT_API_RESOURCE_NOT_READABLE = -30104, PT_API_RESOURCE_NOT_WRITABLE = -30105, PT_API_WRITE_TO_PROTOCOL_TRANSLATOR_FAILED = -30106, PT_API_CERTIFICATE_RENEWAL_BUSY = -30107, PT_API_CERTIFICATE_RENEWAL_ERROR = -30108, PT_API_CERTIFICATE_RENEWAL_INVALID_PARAMETERS = -30109, PT_API_CERTIFICATE_RENEWAL_MEMORY_ALLOCATION_FAILURE = -30110 } |
Functions | |
const char * | pt_api_get_error_message (pt_api_result_code_e code) |
Get the human-readable error message for the error code. More... | |
Edge service error codes.
Note: The error codes are extending JSON RPC error codes. They should not overlap with them, see: http://www.jsonrpc.org/specification and lib/jsonrpc/jsonrpc.h.