Skip to content

Commit bc8a339

Browse files
Merge pull request #901 from adamtheturtle/exceptions-resp
Progress
2 parents 6960ef2 + 57f681a commit bc8a339

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/vws/exceptions.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,14 @@ def __init__(self, response: Response) -> None:
215215
response: The response to a request to Vuforia.
216216
"""
217217
super().__init__()
218-
self.response = response
218+
self._response = response
219+
220+
@property
221+
def response(self) -> Response:
222+
"""
223+
The response returned by Vuforia which included this error.
224+
"""
225+
return self._response
219226

220227

221228
class TargetProcessingTimeout(Exception):

0 commit comments

Comments
 (0)