UNPKG

deep-package-manager

Version:
26 lines (22 loc) 642 B
/** * Created by mgoria on 6/8/15. */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.FailedAddingLifecycleException = undefined; var _Exception = require('../../../Exception/Exception'); /** * Throws when failed to set a bucket as static website hosting */ class FailedAddingLifecycleException extends _Exception.Exception { /** * @param {String} bucketName * @param {String} error */ constructor(bucketName, error) { super(`Error on adding to bucket "${bucketName}" the lifecycle rule. ${error}`); } } exports.FailedAddingLifecycleException = FailedAddingLifecycleException;