Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MissingEncryptionKeyError.js « Encryption « Exception « src - git.mdns.eu/nextcloud/passwords-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d753b06fd97459f93aa3c187dd1228945091a677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
export default class MissingEncryptionKeyError extends Error {

    /**
     * @returns {String}
     */
    get name() {
        return 'MissingEncryptionKeyError';
    }

    /**
     * @param {String} id
     */
    constructor(id) {
        super(`Requested encryption key ${id} not found`);
    }
}