Skip to content

Commit

Permalink
liiiint
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmarkclements committed Sep 11, 2024
1 parent 2354952 commit 14fa40c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'
class PearError extends Error {
static define (code, defmsg, props = null) {
this[code] = {
this[code] = {
[code]: class extends this {
constructor (msg = defmsg, info = null) {
super(msg, code, info)
Expand Down

0 comments on commit 14fa40c

Please sign in to comment.