Skip to content

Commit 2e2aae0

Browse files
Update errors.py for JSON-RPC Errors (#1564)
1 parent 65951f4 commit 2e2aae0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

atlassian/errors.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ def __init__(self, *args, **kwargs):
77
super(ApiError, self).__init__(*args)
88

99

10+
class JsonRPCError(Exception):
11+
def __init__(self, *args):
12+
super(JsonRPCError, self).__init__(*args)
13+
14+
1015
class ApiNotFoundError(ApiError):
1116
pass
1217

@@ -25,3 +30,6 @@ class ApiConflictError(ApiError):
2530

2631
class ApiNotAcceptable(ApiError):
2732
pass
33+
34+
class JsonRPCRestrictionsError(JsonRPCError):
35+
pass

0 commit comments

Comments
 (0)