diff --git a/atlassian/errors.py b/atlassian/errors.py index c4cf8a79f..ced3b6f40 100644 --- a/atlassian/errors.py +++ b/atlassian/errors.py @@ -7,6 +7,11 @@ def __init__(self, *args, **kwargs): super(ApiError, self).__init__(*args) +class JsonRPCError(Exception): + def __init__(self, *args): + super(JsonRPCError, self).__init__(*args) + + class ApiNotFoundError(ApiError): pass @@ -25,3 +30,6 @@ class ApiConflictError(ApiError): class ApiNotAcceptable(ApiError): pass + +class JsonRPCRestrictionsError(JsonRPCError): + pass