UNPKG

@angular2-material/core

Version:
20 lines (18 loc) 622 B
// TODO(kara): Revisit why error messages are not being properly set. var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; /** * Wrapper around Error that sets the error message. */ export var MdError = (function (_super) { __extends(MdError, _super); function MdError(value) { _super.call(this); this.message = value; } return MdError; }(Error)); //# sourceMappingURL=error.js.map