@univerjscoreclassesErrorservice

@univerjs/core v0.5.0-beta.1Docs


Class: ErrorService

Extends

Constructors

new ErrorService()

new ErrorService(): ErrorService

Returns

ErrorService

Inherited from

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:93
error$publicObservable<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

Disposable.dispose

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/error/error.service.ts:29


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:96


emit()

emit(key): void

Parameters

ParameterType
keystring

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

Disposable.ensureNotDisposed

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:100