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
Currently, API error handling consists of lines and lines of copy/pasted code. This code works, but really needs to change as it's extremely prone to bugs. Refactoring common error checking routines into utility methods is probably the best way to deal with this. For example, checking if the user's session id was invalidated, or checking if they've been turned.
The text was updated successfully, but these errors were encountered:
Currently, API error handling consists of lines and lines of copy/pasted code. This code works, but really needs to change as it's extremely prone to bugs. Refactoring common error checking routines into utility methods is probably the best way to deal with this. For example, checking if the user's session id was invalidated, or checking if they've been turned.
The text was updated successfully, but these errors were encountered: