We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2c737a commit 0cfa9a4Copy full SHA for 0cfa9a4
1 file changed
src/vws/vws.py
@@ -89,6 +89,11 @@ def _raise_for_result_code(
89
"""
90
Raise an appropriate exception if the expected result code for a successful
91
request is not returned.
92
+
93
+ Args:
94
+ response: A response from Vuforia.
95
+ expected_result_code: See
96
+ https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Interperete-VWS-API-Result-Codes
97
98
result_code = response.json()['result_code']
99
if result_code == expected_result_code:
0 commit comments