User-friendly panics

As we saw in the preceding code, panic messages and backtraces can be very cryptic, but it does not have to be like that. If you are an author of a command-line tool, human_panic is a crate from the community that replaces verbose, cryptic panic messages with human-readable messages. It also writes the backtrace to a file to allow it to be reported to the tool author by users. More information about human_panic can be found on the project repository page: https://github.com/rust-clique/human-panic.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset