pretty_panics
pretty_panics is a crate that provides an easy way to customize panic messages and error messages.
If use-default-features is enabled, pretty_panics will provide default formatters for panics and errors.
use pretty_panic;
use pretty_panic;
use Error;
caveats: caveats:
- requires your main fn to return a result
- you will lose the ability to get panic backtraces unless you implement your own formatter and include it
- you probably shouldn't use this tbh LMAO
- doesn't work with async main fns yet xd