MCPcopy Create free account
hub / github.com/WebDevSimplified/js-promise-library / constructor

Method constructor

MyPromise.js:205–209  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

203
204class UncaughtPromiseError extends Error {
205 constructor(error) {
206 super(error)
207
208 this.stack = `(in promise) ${error.stack}`
209 }
210}
211
212module.exports = MyPromise

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected