deep-package-manager
Version:
DEEP Package Manager
26 lines (22 loc) • 687 B
JavaScript
/**
* Created by mgoria on 15/12/15.
*/
;
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;