http-errors
Summary
The list of common HTTP errors with, for each error, its associated hexadecimal code and HTTP return code.
var HTTP_ERRORS = require('@openveo/api').controllers.httpErrors;
Item Index
Properties
- ADD_ENTITIES_ERROR
- ADD_ENTITIES_MISSING_PARAMETERS
- ADD_ENTITIES_WRONG_PARAMETERS
- GET_ENTITIES_ERROR
- GET_ENTITIES_WRONG_PARAMETERS
- GET_ENTITY_ERROR
- GET_ENTITY_FORBIDDEN
- GET_ENTITY_MISSING_PARAMETERS
- GET_ENTITY_NOT_FOUND
- GET_ENTITY_WRONG_PARAMETERS
- REMOVE_ENTITIES_ERROR
- REMOVE_ENTITIES_FORBIDDEN
- REMOVE_ENTITIES_MISSING_PARAMETERS
- UPDATE_ENTITIES_ERROR
- UPDATE_ENTITIES_FORBIDDEN
- UPDATE_ENTITIES_MISSING_PARAMETERS
- UPDATE_ENTITIES_WRONG_PARAMETERS
Properties
ADD_ENTITIES_ERROR
Syntax
Summary
A server error occurring when adding entities.
ADD_ENTITIES_MISSING_PARAMETERS
Syntax
Summary
A wrong parameters error occurring when a parameter is missing while adding entities.
ADD_ENTITIES_WRONG_PARAMETERS
Syntax
Summary
Adding entities failed, wrong parameters.
GET_ENTITIES_ERROR
Syntax
Summary
A server error occurring when getting a list of entities.
GET_ENTITIES_WRONG_PARAMETERS
Syntax
Summary
Getting the list of entities failed, wrong parameters.
GET_ENTITY_ERROR
Syntax
Summary
A server error occurring when getting an entity.
GET_ENTITY_FORBIDDEN
Syntax
Summary
An authentication error occurring when the connected user doesn't have enough privileges to get an entity.
GET_ENTITY_MISSING_PARAMETERS
Syntax
Summary
A wrong parameters error occurring when a parameter is missing while getting an entity.
GET_ENTITY_NOT_FOUND
Syntax
Summary
A not found error occurring when an entity couldn't be found.
GET_ENTITY_WRONG_PARAMETERS
Syntax
Summary
Getting an entity failed, wrong parameters.
REMOVE_ENTITIES_ERROR
Syntax
Summary
A server error occurring when removing an entity.
REMOVE_ENTITIES_FORBIDDEN
Syntax
Summary
An authentication error occurring when the connected user doesn't have enough privileges to remove entities.
REMOVE_ENTITIES_MISSING_PARAMETERS
Syntax
Summary
A wrong parameters error occurring when a parameter is missing while removing entities.
UPDATE_ENTITIES_ERROR
Syntax
Summary
A server error occurring when updating an entity.
UPDATE_ENTITIES_FORBIDDEN
Syntax
Summary
An authentication error occurring when the connected user doesn't have enough privileges to update entities.
UPDATE_ENTITIES_MISSING_PARAMETERS
Syntax
Summary
A wrong parameters error occurring when a parameter is missing while updating entities.
UPDATE_ENTITIES_WRONG_PARAMETERS
Syntax
Summary
Updating entities failed, wrong parameters.