deep-package-manager
Version:
DEEP Package Manager
26 lines (22 loc) • 668 B
JavaScript
/**
* Created by mgoria on 18/02/16.
*/
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.InvalidApiLogLevelException = undefined;
var _Exception = require('../../../Exception/Exception');
/**
* Throws when an invalid CloudWatch log level is set for API Gateway
*/
class InvalidApiLogLevelException extends _Exception.Exception {
/**
* @param {String} level
* @param {Array} availableLevels
*/
constructor(level, availableLevels) {
super(`Invalid API Gateway log level "${level}". Available levels "${availableLevels.join(', ')}".`);
}
}
exports.InvalidApiLogLevelException = InvalidApiLogLevelException;