UNPKG

node-brawlstars

Version:

Javascript library to communicate with BrawlStars API

18 lines (17 loc) 914 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ExceptionByCode = void 0; const bad_request_exception_1 = require("./bad-request.exception"); const forbidden_exception_1 = require("./forbidden.exception"); const not_found_exception_1 = require("./not-found.exception"); const internal_server_error_exception_1 = require("./internal-server-error.exception"); const throttler_exception_1 = require("./throttler.exception"); const under_maintenance_exception_1 = require("./under-maintenance.exception"); exports.ExceptionByCode = { 400: bad_request_exception_1.BadRequestException, 403: forbidden_exception_1.ForbiddenException, 404: not_found_exception_1.NotFoundException, 429: throttler_exception_1.ThrottlerException, 500: internal_server_error_exception_1.InternalServerErrorException, 503: under_maintenance_exception_1.UnderMaintenanceException };