Compare commits

..

2 Commits

1 changed files with 2 additions and 1 deletions

View File

@ -1,10 +1,11 @@
// (c) Vitaliy Filippov, 2024 // (c) Vitaliy Filippov, 2024
// License: Mozilla Public License 2.0 or Vitastor Network Public License 1.1 // License: Mozilla Public License 2.0 or Vitastor Network Public License 1.1
class RequestError class RequestError extends Error
{ {
constructor(code, text, details) constructor(code, text, details)
{ {
super();
this.code = code; this.code = code;
this.message = text; this.message = text;
this.details = details; this.details = details;