Skip to content

Commit 0c4275f

Browse files
committed
Remove inactive project duplication
1 parent fbe1477 commit 0c4275f

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

src/vws/exceptions.py

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def response(self) -> Response:
177177
class ProjectInactive(Exception):
178178
"""
179179
Exception raised when Vuforia returns a response with a result code
180-
'ProjectInactive'.
180+
'ProjectInactive' or 'InactiveProject'.
181181
"""
182182

183183
def __init__(self, response: Response) -> None:
@@ -299,28 +299,6 @@ def response(self) -> Response:
299299
return self._response
300300

301301

302-
class InactiveProject(Exception):
303-
"""
304-
Exception raised when Vuforia returns a response with a result code
305-
'InactiveProject'.
306-
"""
307-
308-
def __init__(self, response: Response) -> None:
309-
"""
310-
Args:
311-
response: The response to a request to Vuforia.
312-
"""
313-
super().__init__()
314-
self._response = response
315-
316-
@property
317-
def response(self) -> Response:
318-
"""
319-
The response returned by Vuforia which included this error.
320-
"""
321-
return self._response
322-
323-
324302
class DateRangeError(Exception):
325303
"""
326304
Exception raised when Vuforia returns a response with a result code

0 commit comments

Comments
 (0)