misc: added forbidden exception
This commit is contained in:
parent
5db3f7f1f4
commit
ecdca8f0ee
1 changed files with 5 additions and 3 deletions
|
@ -4,16 +4,18 @@ class HTTPFailure(Exception):
|
||||||
"""
|
"""
|
||||||
Raised when an HTTP request fails.
|
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):
|
class PyZiplineError(Exception):
|
||||||
"""
|
"""
|
||||||
Raised when an error occurs in the PyZipline library.
|
Raised when an error occurs in the PyZipline library.
|
||||||
"""
|
"""
|
||||||
pass
|
|
||||||
|
|
||||||
class FeatureDisabledError(Exception):
|
class FeatureDisabledError(Exception):
|
||||||
"""
|
"""
|
||||||
Raised when a feature is disabled on the Zipline instance.
|
Raised when a feature is disabled on the Zipline instance.
|
||||||
"""
|
"""
|
||||||
pass
|
|
||||||
|
|
Loading…
Reference in a new issue