es6/util/ObjectUnsubscribedError.js
/**
* 当 action 由于对象取消订阅导致非法时,则抛出该错误。
*
* @see {@link Subject}
* @see {@link BehaviorSubject}
*
* @class ObjectUnsubscribedError
*/
export class ObjectUnsubscribedError extends Error {
constructor() {
const err = super('object unsubscribed');
this.name = err.name = 'ObjectUnsubscribedError';
this.stack = err.stack;
this.message = err.message;
}
}
//# sourceMappingURL=ObjectUnsubscribedError.js.map