[−][src]Crate exitfailure
Some newtype wrappers to help with using ? in main()
The primary items exported by this library are:
-
ExitFailure: a wrapper aroundfailure::Errorto allow ? printing from main to present a nicer error message, including any available context and backtrace. -
ExitDisplay<E>: a wrapper aroundE: std::fmt::Displayto allow the error message from main to useDisplayand notDebug
Basically, these types should only ever be used in the return type for
main()
Structs
| ExitDisplay | A newtype wrapper around |
| ExitFailure | The newtype wrapper around |