UNPKG

error-cause

Version:

An ES-spec-compliant shim/polyfill/replacement for the `.cause` property on all Error types that works as far down as ES3

8 lines (5 loc) 247 B
'use strict'; var AggregateError = require('es-aggregate-error/polyfill')(); var implementation = require('./implementation'); var polyfillHelper = require('../helpers/polyfill'); module.exports = polyfillHelper(AggregateError, implementation);