Compare commits
2 Commits
23062dde58
...
e597ceef0a
Author | SHA1 | Date |
---|---|---|
Vitaliy Filippov | e597ceef0a | |
Vitaliy Filippov | f6e588cc72 |
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue