UNPKG

deep-package-manager

Version:
28 lines (24 loc) 839 B
/** * Created by mgoria on 09/11/15. */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.FailedToExecuteApiGatewayMethodException = undefined; var _Exception = require('../../../Exception/Exception'); /** * Throws when failed to execute an API Gateway method (e.g. putMethod, putIntegration, etc.) */ class FailedToExecuteApiGatewayMethodException extends _Exception.Exception { /** * @param {String} method * @param {String} resourcePath * @param {String} httpMethod * @param {String} error */ constructor(method, resourcePath, httpMethod, error) { super(`Error on executing API Gateway "${method}" with "${httpMethod}" method and "${resourcePath}" resource. ${error}`); } } exports.FailedToExecuteApiGatewayMethodException = FailedToExecuteApiGatewayMethodException;