REST package exceptions list

exception VestaRestPackage.vesta_exceptions.AMQPError[source]

Indicates that communications with AMQP failed.

exception VestaRestPackage.vesta_exceptions.DocumentUrlNotValidException(invalid_url)[source]

Indicates that given URL for a document is invalid.

class VestaRestPackage.vesta_exceptions.ExceptionInfo(code, exc_type, status=500, msg=None)[source]

Exception information to show useful responses to user when they happen.

exception VestaRestPackage.vesta_exceptions.MissingParameterError(method, uri, missing_param)[source]

Indicates that a required parameter is missing.

exception VestaRestPackage.vesta_exceptions.SettingsException(message, status_code=None, payload=None)[source]

Indicates that an error occurred during settings parsing.

exception VestaRestPackage.vesta_exceptions.UnknownServiceError(service)[source]

Indicates that a Service name is of unknown type.

exception VestaRestPackage.vesta_exceptions.UnknownUUIDError(uuid)[source]

Indicates that the requested UUID is not yet registered.

exception VestaRestPackage.vesta_exceptions.VRPException(message, status_code=None, payload=None)[source]

Base exception type for current package.

exception VestaRestPackage.vesta_exceptions.VersionException(message, status_code=None, payload=None)[source]

Indicates that a version mismatch was found.

exception VestaRestPackage.vesta_exceptions.VersionMismatchError(message, status_code=None, payload=None)[source]

Indicates that a service version declared in the REST configuration mismatches the version obtained from worker message payload.