foxpy / qc

Quad C: Custom Cruel C Crate
MIT License
4 stars 0 forks source link

feature request: error handling library: shortcut to exit with fatal error message #50

Closed foxpy closed 3 years ago

foxpy commented 3 years ago

Something like qc_err_fatal(err, "oopsie"); leading to "Fatal error: oopsie: <whatever was stored as error>" message in stderr and immediate exit with EXIT_FAILURE code.