Skip to content

Instantly share code, notes, and snippets.

View tgeene's full-sized avatar
💻
Gaming or Coding

Trevor Geene tgeene

💻
Gaming or Coding
View GitHub Profile
@jimmyjacobson
jimmyjacobson / a_string_is_not_an_error.md
Last active December 27, 2021 20:49
A String is not an Error

A String is not an Error

Why Error Handling?

  • Default behavior for programs is to terminate on an error, or enter the debugger
  • Terrible user experience

Why Handle Errors?

  • Gracefully Handle Errors (retry connections, re-prompt for user input, etc)
  • Non Local Control Flow (Display error messages and screens)