ngx-modialog
Version:
Modal / Dialog for Angular
23 lines (22 loc) • 628 B
JavaScript
import * as tslib_1 from "tslib";
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
var DialogBailOutError = /** @class */ (function (_super) {
tslib_1.__extends(DialogBailOutError, _super);
/**
* @param {?=} value
*/
function DialogBailOutError(value) {
var _this = _super.call(this) || this;
if (!value) {
value = 'Dialog was forced to close by an unknown source.';
}
_this.message = value;
return _this;
}
return DialogBailOutError;
}(Error));
export { DialogBailOutError };
//# sourceMappingURL=errors.js.map