PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@stacks/transactions/dist

Просмотр файла: errors.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VerificationError = exports.SigningError = exports.NotImplementedError = exports.DeserializationError = exports.SerializationError = exports.StacksTransactionError = void 0;
class StacksTransactionError extends Error {
    constructor(message) {
        super(message);
        this.message = message;
        this.name = this.constructor.name;
        if (Error.captureStackTrace) {
            Error.captureStackTrace(this, this.constructor);
        }
    }
}
exports.StacksTransactionError = StacksTransactionError;
class SerializationError extends Error {
    constructor(message) {
        super(message);
        this.message = message;
        this.name = this.constructor.name;
        if (Error.captureStackTrace) {
            Error.captureStackTrace(this, this.constructor);
        }
    }
}
exports.SerializationError = SerializationError;
class DeserializationError extends Error {
    constructor(message) {
        super(message);
        this.message = message;
        this.name = this.constructor.name;
        if (Error.captureStackTrace) {
            Error.captureStackTrace(this, this.constructor);
        }
    }
}
exports.DeserializationError = DeserializationError;
class NotImplementedError extends Error {
    constructor(message) {
        super(message);
        this.message = message;
        this.name = this.constructor.name;
        if (Error.captureStackTrace) {
            Error.captureStackTrace(this, this.constructor);
        }
    }
}
exports.NotImplementedError = NotImplementedError;
class SigningError extends Error {
    constructor(message) {
        super(message);
        this.message = message;
        this.name = this.constructor.name;
        if (Error.captureStackTrace) {
            Error.captureStackTrace(this, this.constructor);
        }
    }
}
exports.SigningError = SigningError;
class VerificationError extends Error {
    constructor(message) {
        super(message);
        this.message = message;
        this.name = this.constructor.name;
        if (Error.captureStackTrace) {
            Error.captureStackTrace(this, this.constructor);
        }
    }
}
exports.VerificationError = VerificationError;
//# sourceMappingURL=errors.js.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!