module Nucleus::ErrorMessages
The {ErrorMessages} module groups all error definitions that can be returned by the RESTful API. With its constants, it provides the skeleton to create error messages that comply with the error schema of Nucleus
.
Constants
- AUTH_BAD_REQUEST
- AUTH_UNAUTHORIZED
- BAD_REQUEST_APP_ARCHIVE
- BAD_REQUEST_ENTITY
- BAD_REQUEST_VALIDATION
- ENDPOINT_AUTH_FAILED
- ENDPOINT_BAD_REQUEST
CLIENT ERRORS #
- ENDPOINT_NOT_FOUND
- INVALID_ACCEPT_HEADER
- MISSING_IMPLEMENTATION
- NOT_FOUND
- PLATFORM_GATEWAY_TIMEOUT
- PLATFORM_QUOTA_ERROR
Quota violations are a common issue and therefore deserve their own message ;)
- PLATFORM_SPECIFIC_ERROR_ENTITY
All platform specific semantic errors should have a unique error code!
- RESCUED
SERVER ERRORS #
- RESCUED_ADAPTER_CALL
- RESCUED_ADAPTER_CALL_SERVER
- UNAVAILABLE