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

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

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

    /**
     * @param {Response} response
     */
    constructor(response) {
        super(response, 'Bad Gateway');
    }
}