client/error.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SecretStoreSessionError = void 0;
/**
 * @description Thrown when an error has occured during the Secret Store session.
 *
 * @memberof module:secretstore/session
 * @class
 */
class SecretStoreSessionError extends Error {
    /**
     * @param {string} message The error message.
     * @param {any} meta Some information object to help debugging
     */
    constructor(message, meta) {
        super(message);
        this.meta = meta;
        this.name = 'SecretStoreSessionError';
    }
}
exports.SecretStoreSessionError = SecretStoreSessionError;
//# sourceMappingURL=error.js.map