Skip to content

Exceptions

This is a list of all of the exceptions used in PyZipline.

Classes:

Name Description
FeatureDisabledError

Raised when a feature is disabled on the Zipline instance.

Forbidden

Raised when the authenticated user does not have the ability to do an action.

HTTPFailure

Raised when an HTTP request fails.

NotFound

Raised when a resource cannot be found.

PyZiplineError

Raised when an error occurs in the PyZipline library.

FeatureDisabledError

Bases: Exception

Raised when a feature is disabled on the Zipline instance.

Source code in pyzipline/exceptions.py
class FeatureDisabledError(Exception):
    """
    Raised when a feature is disabled on the Zipline instance.
    """

Forbidden

Bases: Exception

Raised when the authenticated user does not have the ability to do an action.

Source code in pyzipline/exceptions.py
class Forbidden(Exception):
    """
    Raised when the authenticated user does not have the ability to do an action.
    """

HTTPFailure

Bases: Exception

Raised when an HTTP request fails.

Source code in pyzipline/exceptions.py
3
4
5
6
class HTTPFailure(Exception):
    """
    Raised when an HTTP request fails.
    """

NotFound

Bases: Exception

Raised when a resource cannot be found.

Source code in pyzipline/exceptions.py
class NotFound(Exception):
    """
    Raised when a resource cannot be found.
    """

PyZiplineError

Bases: Exception

Raised when an error occurs in the PyZipline library.

Source code in pyzipline/exceptions.py
class PyZiplineError(Exception):
    """
    Raised when an error occurs in the PyZipline library.
    """