OpenVeo server API for plugins

API Docs for: 4.3.1
Show:

http-errors

Module: controllers

static

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;

Properties

ADD_ENTITIES_ERROR

Syntax

ADD_ENTITIES_ERROR

Object final

Summary

A server error occurring when adding entities.

ADD_ENTITIES_MISSING_PARAMETERS

Syntax

ADD_ENTITIES_MISSING_PARAMETERS

Object final

Summary

A wrong parameters error occurring when a parameter is missing while adding entities.

ADD_ENTITIES_WRONG_PARAMETERS

Syntax

ADD_ENTITIES_WRONG_PARAMETERS

Object final

Summary

Adding entities failed, wrong parameters.

GET_ENTITIES_ERROR

Syntax

GET_ENTITIES_ERROR

Object final

Summary

A server error occurring when getting a list of entities.

GET_ENTITIES_WRONG_PARAMETERS

Syntax

GET_ENTITIES_WRONG_PARAMETERS

Object final

Summary

Getting the list of entities failed, wrong parameters.

GET_ENTITY_ERROR

Syntax

GET_ENTITY_ERROR

Object final

Summary

A server error occurring when getting an entity.

GET_ENTITY_FORBIDDEN

Syntax

GET_ENTITY_FORBIDDEN

Object final

Summary

An authentication error occurring when the connected user doesn't have enough privileges to get an entity.

GET_ENTITY_MISSING_PARAMETERS

Syntax

GET_ENTITY_MISSING_PARAMETERS

Object final

Summary

A wrong parameters error occurring when a parameter is missing while getting an entity.

GET_ENTITY_NOT_FOUND

Syntax

GET_ENTITY_NOT_FOUND

Object final

Summary

A not found error occurring when an entity couldn't be found.

GET_ENTITY_WRONG_PARAMETERS

Syntax

GET_ENTITY_WRONG_PARAMETERS

Object final

Summary

Getting an entity failed, wrong parameters.

REMOVE_ENTITIES_ERROR

Syntax

REMOVE_ENTITIES_ERROR

Object final

Summary

A server error occurring when removing an entity.

REMOVE_ENTITIES_FORBIDDEN

Syntax

REMOVE_ENTITIES_FORBIDDEN

Object final

Summary

An authentication error occurring when the connected user doesn't have enough privileges to remove entities.

REMOVE_ENTITIES_MISSING_PARAMETERS

Syntax

REMOVE_ENTITIES_MISSING_PARAMETERS

Object final

Summary

A wrong parameters error occurring when a parameter is missing while removing entities.

UPDATE_ENTITIES_ERROR

Syntax

UPDATE_ENTITIES_ERROR

Object final

Summary

A server error occurring when updating an entity.

UPDATE_ENTITIES_FORBIDDEN

Syntax

UPDATE_ENTITIES_FORBIDDEN

Object final

Summary

An authentication error occurring when the connected user doesn't have enough privileges to update entities.

UPDATE_ENTITIES_MISSING_PARAMETERS

Syntax

UPDATE_ENTITIES_MISSING_PARAMETERS

Object final

Summary

A wrong parameters error occurring when a parameter is missing while updating entities.

UPDATE_ENTITIES_WRONG_PARAMETERS

Syntax

UPDATE_ENTITIES_WRONG_PARAMETERS

Object final

Summary

Updating entities failed, wrong parameters.