Skip to content

Commit 4c79ca6

Browse files
committed
Pull out a few changes from client branch
1 parent c2091f6 commit 4c79ca6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/vws/_result_codes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ def raise_for_result_code(
4040
'BadImage': BadImage,
4141
'Fail': Fail,
4242
'ImageTooLarge': ImageTooLarge,
43+
'InactiveProject': ProjectInactive,
4344
'MetadataTooLarge': MetadataTooLarge,
4445
'ProjectInactive': ProjectInactive,
45-
'InactiveProject': ProjectInactive,
4646
'TargetNameExist': TargetNameExist,
47-
'TargetStatusProcessing': TargetStatusProcessing,
4847
'TargetStatusNotSuccess': TargetStatusNotSuccess,
48+
'TargetStatusProcessing': TargetStatusProcessing,
4949
'UnknownTarget': UnknownTarget,
5050
}[result_code]
5151

src/vws/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def response(self) -> Response:
162162
class ProjectInactive(Exception):
163163
"""
164164
Exception raised when Vuforia returns a response with a result code
165-
'ProjectInactive'.
165+
'ProjectInactive' or 'InactiveProject'.
166166
"""
167167

168168
def __init__(self, response: Response) -> None:

0 commit comments

Comments
 (0)