UNPKG

@belgattitude/http-exception

Version:

Warning: has been moved to @httpx/exception. Please update.

10 lines (8 loc) 257 B
var supportsErrorCause = function supportsErrorCause() { var _Error; var cause = Symbol(''); return ((_Error = new Error('', { cause: cause })) === null || _Error === void 0 ? void 0 : _Error.cause) === cause; }; export { supportsErrorCause };