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

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

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

    /**
     * @param {String} action
     */
    constructor(action) {
        super(`Unknown PassLink action ${action}`);
    }
}