TenantAtlas/apps/platform/.pnpm-store/v10/files/3d/c398657c93e44155dc38def7fba206e7436115c282bacb4e05b892535d4d7dcbb05f1b00d31613613aaf076ee14044e9d866ddce1676801d941aa89a5c7105
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

30 lines
842 B
Plaintext

import { createErrorClass } from './createErrorClass';
export interface ObjectUnsubscribedError extends Error {}
export interface ObjectUnsubscribedErrorCtor {
/**
* @deprecated Internal implementation detail. Do not construct error instances.
* Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269
*/
new (): ObjectUnsubscribedError;
}
/**
* An error thrown when an action is invalid because the object has been
* unsubscribed.
*
* @see {@link Subject}
* @see {@link BehaviorSubject}
*
* @class ObjectUnsubscribedError
*/
export const ObjectUnsubscribedError: ObjectUnsubscribedErrorCtor = createErrorClass(
(_super) =>
function ObjectUnsubscribedErrorImpl(this: any) {
_super(this);
this.name = 'ObjectUnsubscribedError';
this.message = 'object unsubscribed';
}
);