UNPKG

deep-package-manager

Version:
26 lines (22 loc) 628 B
/** * Created by mgoria on 09/11/15. */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.FailedToCreateApiResourceException = undefined; var _Exception = require('../../../Exception/Exception'); /** * Throws when API Gateway resource creation failed */ class FailedToCreateApiResourceException extends _Exception.Exception { /** * @param {String} pathPart * @param {String} error */ constructor(pathPart, error) { super(`Error on creating "${pathPart}" api resource. ${error}`); } } exports.FailedToCreateApiResourceException = FailedToCreateApiResourceException;