PyZipline/pyzipline/exceptions.py

22 lines
505 B
Python
Raw Normal View History

2023-12-20 23:50:03 -05:00
"""This is a list of all of the exceptions used in PyZipline."""
2023-12-19 05:36:18 -05:00
class HTTPFailure(Exception):
"""
Raised when an HTTP request fails.
"""
2023-12-20 23:50:15 -05:00
class Forbidden(Exception):
"""
Raised when the authenticated user does not have the ability to do an action.
"""
2023-12-19 05:36:18 -05:00
class PyZiplineError(Exception):
"""
Raised when an error occurs in the PyZipline library.
"""
class FeatureDisabledError(Exception):
"""
Raised when a feature is disabled on the Zipline instance.
"""