@failure-abstraction/error
Error objects for JavaScript
Found 3 results for SyntaxError
Error objects for JavaScript
Yet another try/catch for JSON#parse. This one returns your custom error token value in case of a SyntaxError (default: undefined), and passes all other errors to your custom error handler (default: re-throw).
never type new again!