Throws specified error or creates and throws new Error with given message
Either error message or error object
Generated using TypeDoc
Throws specified error or creates and throws new Error with given message