screenshot of JS code that handles an error by displaying "what the crap"

This error handler is in an NPM package downloaded almost a million times a week. Makes me feel better about my own... πŸ˜†

what the crap!