diff options
Diffstat (limited to 'packages/idb-bridge')
-rw-r--r-- | packages/idb-bridge/src/util/errors.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/idb-bridge/src/util/errors.ts b/packages/idb-bridge/src/util/errors.ts index 6c8f81811..57fa46f96 100644 --- a/packages/idb-bridge/src/util/errors.ts +++ b/packages/idb-bridge/src/util/errors.ts @@ -41,7 +41,7 @@ const messages = { export class AbortError extends Error { constructor(message = messages.AbortError) { super(); - Object.setPrototypeOf(this, ConstraintError.prototype); + Object.setPrototypeOf(this, AbortError.prototype); this.name = "AbortError"; this.message = message; } |