UNPKG

deep-package-manager

Version:
26 lines (22 loc) 687 B
/** * Created by mgoria on 15/12/15. */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.InvalidCacheClusterSizeException = undefined; var _Exception = require('../../../Exception/Exception'); /** * Throws when an invalid cache cluster size is set */ class InvalidCacheClusterSizeException extends _Exception.Exception { /** * @param {String} cacheSize * @param {Array} availableSizes */ constructor(cacheSize, availableSizes) { super(`Invalid API Gateway cache cluster size "${cacheSize}". Available sizes "${availableSizes.join(', ')}".`); } } exports.InvalidCacheClusterSizeException = InvalidCacheClusterSizeException;