Add a die() macro to exit with an error message