[−][src]Crate exitfailure
Some newtype wrappers to help with using ? in main()
The primary items exported by this library are:
-
ExitFailure
: a wrapper aroundfailure::Error
to allow ? printing from main to present a nicer error message, including any available context and backtrace. -
ExitDisplay<E>
: a wrapper aroundE: std::fmt::Display
to allow the error message from main to useDisplay
and 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 |