@univerjs/core v0.5.0-beta.1 • Docs
Class: ErrorService
Extends
Constructors
new ErrorService()
new ErrorService(): ErrorService
Returns
Inherited from
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
error$ | public | Observable <IError > | undefined | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/error/error.service.ts:27 |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/error/error.service.ts:29
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:96
emit()
emit(key): void
Parameters
Parameter | Type |
---|---|
key | string |
Returns
void
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/error/error.service.ts:33
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:100