mirror of
https://github.com/biobulkbende/biobulkbende.org.git
synced 2024-12-27 05:15:25 +00:00
18 lines
502 B
JavaScript
18 lines
502 B
JavaScript
/**
|
|
* An error thrown when an action is invalid because the object has been
|
|
* unsubscribed.
|
|
*
|
|
* @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
|