limp.js
// We use this error when a promise rejects without an error:
We use this error when a promise rejects without an error.
We use this error when a promise rejects without an error .
function EmptyRejectionError(message) {
  Error.captureStackTrace(this, this.constructor);
  this.name = this.constructor.name;
  this.message = message;
}
function EmptyRejectionError ( message ) { Error . captureStackTrace ( this , this . constructor ) ; this . name = this . constructor . name ; this . message = message ; }
We use this error when a promise rejects without an error:
We use this error when a promise rejects without an error :