Skip to content

Commit 1b87de9

Browse files
committed
Move things around
1 parent 7b30db9 commit 1b87de9

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/vws/exceptions.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ def __init__(self, response: Response) -> None:
9797
self.response = response
9898

9999

100-
class ImageTooLarge(Exception):
100+
class ProjectInactive(Exception):
101101
"""
102102
Exception raised when Vuforia returns a response with a result code
103-
'ImageTooLarge'.
103+
'ProjectInactive'.
104104
"""
105105

106106
def __init__(self, response: Response) -> None:
@@ -112,10 +112,10 @@ def __init__(self, response: Response) -> None:
112112
self.response = response
113113

114114

115-
class ProjectInactive(Exception):
115+
class MetadataTooLarge(Exception):
116116
"""
117117
Exception raised when Vuforia returns a response with a result code
118-
'ProjectInactive'.
118+
'MetadataTooLarge'.
119119
"""
120120

121121
def __init__(self, response: Response) -> None:
@@ -127,10 +127,10 @@ def __init__(self, response: Response) -> None:
127127
self.response = response
128128

129129

130-
class MetadataTooLarge(Exception):
130+
class RequestTimeTooSkewed(Exception):
131131
"""
132132
Exception raised when Vuforia returns a response with a result code
133-
'MetadataTooLarge'.
133+
'RequestTimeTooSkewed'.
134134
"""
135135

136136
def __init__(self, response: Response) -> None:
@@ -142,10 +142,10 @@ def __init__(self, response: Response) -> None:
142142
self.response = response
143143

144144

145-
class RequestTimeTooSkewed(Exception):
145+
class TargetNameExist(Exception):
146146
"""
147147
Exception raised when Vuforia returns a response with a result code
148-
'RequestTimeTooSkewed'.
148+
'TargetNameExist'.
149149
"""
150150

151151
def __init__(self, response: Response) -> None:
@@ -157,10 +157,10 @@ def __init__(self, response: Response) -> None:
157157
self.response = response
158158

159159

160-
class TargetNameExist(Exception):
160+
class ImageTooLarge(Exception):
161161
"""
162162
Exception raised when Vuforia returns a response with a result code
163-
'TargetNameExist'.
163+
'ImageTooLarge'.
164164
"""
165165

166166
def __init__(self, response: Response) -> None:

0 commit comments

Comments
 (0)