...

/

Error-Handling and Panicking in a User-Defined Package

Error-Handling and Panicking in a User-Defined Package

This lesson provides an implementation and a detailed explanation about catching errors in custom packages and recovering programs in case of a panic.

We'll cover the following...

Here are a couple of best practices which every writer of custom packages should apply:

  • Always recover from panic in
...