Instead of throwing normally, this function will print a given error message and exit the process with a non-zero exit code.
Optional
An error message to print or an Error object from which to print the its message property.
The exit code to exit the process with.
Generated using TypeDoc
Instead of throwing normally, this function will print a given error message and exit the process with a non-zero exit code.