module ACP::Protocol::ErrorCode

Defined in:

acp/protocol/enums.cr

Constant Summary

AUTH_REQUIRED = ACP::JsonRpcError::AUTH_REQUIRED

Authentication is required before this operation can be performed.

INTERNAL_ERROR = ACP::JsonRpcError::INTERNAL_ERROR
INVALID_PARAMS = ACP::JsonRpcError::INVALID_PARAMS
INVALID_REQUEST = ACP::JsonRpcError::INVALID_REQUEST
METHOD_NOT_FOUND = ACP::JsonRpcError::METHOD_NOT_FOUND
PARSE_ERROR = ACP::JsonRpcError::PARSE_ERROR

Standard JSON-RPC 2.0 error codes. Canonical values are defined in ACP::JsonRpcError; referenced here to avoid duplicating magic numbers.

RESOURCE_NOT_FOUND = ACP::JsonRpcError::RESOURCE_NOT_FOUND

A given resource, such as a file, was not found.