No matter how great we are at programming, sometimes our scripts have errors. These could be due to our error, an unexpected user input, an incorrect server response, and a thousand other reasons. Typically, a script “dies” in case of an error (shuts down immediately), it prints on the console.
However…