PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@stacks/transactions/dist/esm
Просмотр файла: errors.js
export class StacksTransactionError extends Error {
constructor(message) {
super(message);
this.message = message;
this.name = this.constructor.name;
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
}
}
export class SerializationError extends Error {
constructor(message) {
super(message);
this.message = message;
this.name = this.constructor.name;
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
}
}
export class DeserializationError extends Error {
constructor(message) {
super(message);
this.message = message;
this.name = this.constructor.name;
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
}
}
export class NotImplementedError extends Error {
constructor(message) {
super(message);
this.message = message;
this.name = this.constructor.name;
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
}
}
export class SigningError extends Error {
constructor(message) {
super(message);
this.message = message;
this.name = this.constructor.name;
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
}
}
export class VerificationError extends Error {
constructor(message) {
super(message);
this.message = message;
this.name = this.constructor.name;
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
}
}
//# sourceMappingURL=errors.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!