[][src]Crate die_exit

Macros

die

Prints a message to stderr and terminates the current process with the specified exit code or 1 if no exit code is specified, by calling eprintln!() on all arguments followed by process::exit(exit_code)

Constants

DEFAULT_EXIT_CODE

const of 1

Traits

Die

Die is a trait implemented on Result and Option to make exiting with messages and codes easy

PrintExit