# Functions

ErrStack takes in an error and returns the stack trace in a byte slice.
Fatal prints an error, prints its stack trace, and then exits with a 1 exit code.
UnwrapErr takes in an error, goes through the error cause chain, and returns the deepest error that has a stacktrace.