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

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

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

    /**
     * @param {String} scope
     */
    constructor(scope) {
        super(`Invalid scope ${scope}`);
    }
}