diff --git a/pyzipline/exceptions.py b/pyzipline/exceptions.py index 6ef9711..a889c2b 100644 --- a/pyzipline/exceptions.py +++ b/pyzipline/exceptions.py @@ -4,16 +4,18 @@ class HTTPFailure(Exception): """ Raised when an HTTP request fails. """ - pass + +class Forbidden(Exception): + """ + Raised when the authenticated user does not have the ability to do an action. + """ class PyZiplineError(Exception): """ Raised when an error occurs in the PyZipline library. """ - pass class FeatureDisabledError(Exception): """ Raised when a feature is disabled on the Zipline instance. """ - pass