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
f"Authentication Error: Encountered an unknown authentication error."
201
+
"Authentication Error: Encountered an unknown authentication error."
201
202
) fromexc
202
203
elifresponse.status_code==400:
203
204
raiseAuthError(
204
205
f"Authentication Error: Check if your login credentials are correct. Received response code: {response.status_code}, response: {response.content}. Server returned internal status code: {response_status} and message: {response_message}"
205
206
) fromexc
207
+
elifresponse.status_code==403:
208
+
raiseForbiddenError(
209
+
f"WemPortal forbidden error: Server returned internal status code: {response_status} and message: {response_message}"
210
+
) fromexc
206
211
elifresponse.status_code==500:
207
212
raiseServerError(
208
213
f"WemPortal server error: Server returned internal status code: {response_status} and message: {response_message}"
0 commit comments