Skip to content

Commit c94b726

Browse files
committed
Document raises
1 parent d1a8d97 commit c94b726

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/vws/_result_codes.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ def raise_for_result_code(
3434
response: A response from Vuforia.
3535
expected_result_code: See
3636
https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.html#How-To-Interperete-VWS-API-Result-Codes
37+
38+
Raises:
39+
~vws.exceptions.UnknownVWSErrorPossiblyBadName: Vuforia returns an HTML
40+
page with the text "Oops, an error occurred". This has been seen to
41+
happen when the given name includes a bad character.
3742
"""
3843
try:
3944
result_code = response.json()['result_code']

0 commit comments

Comments
 (0)