You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
response.Error="Unauthorized -- Your session_token is invalid";
137
-
break;
138
-
case403:
139
-
response.Error="Forbidden -- You do not have access";
140
-
break;
141
-
case404:
142
-
response.Error="Not Found";
143
-
break;
144
-
case405:
145
-
response.Error="Method Not Allowed";
146
-
break;
147
-
case406:
148
-
response.Error="Not Acceptable -- Purchasing is disabled";
149
-
break;
150
-
case409:
151
-
response.Error="Conflict -- Your state is most likely not aligned with the servers.";
152
-
break;
153
-
case429:
154
-
response.Error="Too Many Requests -- You're being limited for sending too many requests too quickly.";
155
-
break;
156
-
case500:
157
-
response.Error="Internal Server Error -- We had a problem with our server. Try again later.";
158
-
break;
159
-
case503:
160
-
response.Error="Service Unavailable -- We're either offline for maintenance, or an error that should be solvable by calling again later was triggered.";
errorData.message="Forbidden -- You do not have access to this resource.";
175
+
errorData.code="forbidden";
176
+
break;
177
+
case404:
178
+
errorData.message="Not Found -- The requested resource could not be found.";
179
+
errorData.code="not_found";
180
+
break;
181
+
case405:
182
+
errorData.message="Method Not Allowed -- The selected http method is invalid for this resource.";
183
+
errorData.code="method_not_allowed";
184
+
break;
185
+
case406:
186
+
errorData.message="Not Acceptable -- Purchasing is disabled.";
187
+
errorData.code="not_acceptable";
188
+
break;
189
+
case409:
190
+
errorData.message="Conflict -- Your state is most likely not aligned with the servers.";
191
+
errorData.code="conflict";
192
+
break;
193
+
case429:
194
+
errorData.message="Too Many Requests -- You're being limited for sending too many requests too quickly.";
195
+
errorData.code="too_many_requests";
196
+
break;
197
+
case500:
198
+
errorData.message="Internal Server Error -- We had a problem with our server. Try again later.";
199
+
errorData.code="internal_server_error";
200
+
break;
201
+
case503:
202
+
errorData.message="Service Unavailable -- We're either offline for maintenance, or an error that should be solvable by calling again later was triggered.";
0 commit comments