Crate die_exit

source ·

Macros§

  • 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§

Traits§

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