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

ServiceUnavailableError.js « Http « Exception « src - git.mdns.eu/nextcloud/passwords-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6b0d67bf13e70a7b09ba857de01f4c884450d742 (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 ServiceUnavailableError extends HttpError {

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

    /**
     * @param {Response} response
     */
    constructor(response) {
        super(response, 'Service Unavailable');
    }
}