File tree Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 5
5
},
6
6
"editor.defaultFormatter" : " charliermarsh.ruff" ,
7
7
"editor.formatOnSave" : true
8
- }
8
+ },
9
+ "esbonio.sphinx.confDir" : " "
9
10
}
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ TargetProcessingTimeout
19
19
TargetQuotaReached
20
20
TargetStatusNotSuccess
21
21
TargetStatusProcessing
22
+ TooManyRequests
22
23
Ubuntu
23
24
UnknownTarget
24
25
UnknownVWSErrorPossiblyBadName
Original file line number Diff line number Diff line change @@ -56,6 +56,13 @@ class RequestQuotaReached(VWSException): # pragma: no cover
56
56
"""
57
57
58
58
59
+ class TooManyRequests (VWSException ): # pragma: no cover
60
+ """
61
+ Exception raised when Vuforia returns a response with a result code
62
+ 'TooManyRequests'.
63
+ """
64
+
65
+
59
66
class TargetStatusProcessing (VWSException ):
60
67
"""
61
68
Exception raised when Vuforia returns a response with a result code
Original file line number Diff line number Diff line change 35
35
TargetQuotaReached ,
36
36
TargetStatusNotSuccess ,
37
37
TargetStatusProcessing ,
38
+ TooManyRequests ,
38
39
UnknownTarget ,
39
40
)
40
41
from vws .reports import (
@@ -201,6 +202,7 @@ def _make_request(
201
202
"TargetQuotaReached" : TargetQuotaReached ,
202
203
"TargetStatusNotSuccess" : TargetStatusNotSuccess ,
203
204
"TargetStatusProcessing" : TargetStatusProcessing ,
205
+ "TooManyRequests" : TooManyRequests ,
204
206
"UnknownTarget" : UnknownTarget ,
205
207
}[result_code ]
206
208
You can’t perform that action at this time.
0 commit comments