"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RpcEncodingError = exports.RpcDecodingError = void 0;
class RpcDecodingError extends Error {
    constructor(message) {
        super(message ? 'RPC_DECODING: ' + message : 'RPC_DECODING');
    }
}
exports.RpcDecodingError = RpcDecodingError;
class RpcEncodingError extends Error {
    constructor(message) {
        super(message ? 'RPC_ENCODING: ' + message : 'RPC_ENCODING');
    }
}
exports.RpcEncodingError = RpcEncodingError;
//# sourceMappingURL=errors.js.map