Compare commits
1 Commits
e597ceef0a
...
23062dde58
Author | SHA1 | Date |
---|---|---|
Vitaliy Filippov | 23062dde58 |
|
@ -1,11 +1,10 @@
|
||||||
// (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 extends Error
|
class RequestError
|
||||||
{
|
{
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue