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
Dialogues: used to notify the user of an invalid action/use case (these mistakes are preventable)
Exceptions
Intended usage: use run time exceptions to indicate precondition violations and other exceptions when an unpreventable issue arises
A specific place to use exceptions (for unpreventable issues): For the method User.getChatByID to run successfully, the specified chatID must correspond to a chat in the system. However, if the storage gets mutated accidentally while the program is running, getChatByID may not work as intended and an exception should be used.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: