diff options
Diffstat (limited to 'cli/rt/01_errors.js')
-rw-r--r-- | cli/rt/01_errors.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/rt/01_errors.js b/cli/rt/01_errors.js index fb2bb78c2..d5933069b 100644 --- a/cli/rt/01_errors.js +++ b/cli/rt/01_errors.js @@ -127,6 +127,13 @@ } } + class NotSupported extends Error { + constructor(msg) { + super(msg); + this.name = "NotSupported"; + } + } + const errors = { NotFound, PermissionDenied, @@ -146,6 +153,7 @@ BadResource, Http, Busy, + NotSupported, }; window.__bootstrap.errors = { |