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

TooManyRequestsError.js « Http « Exception « src - git.mdns.eu/nextcloud/passwords-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 192f560324aa795f988f6d8c9186f2221e6e8292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import HttpError from './HttpError';

export default class TooManyRequestsError extends HttpError {

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

    /**
     * @param {Response} response
     */
    constructor(response) {
        super(response, 'Too Many Requests');
    }
}