Skip to content

arlas-wui-toolkit / Exports / ErrorService

Class: ErrorService

Table of contents

Constructors

Methods

Constructors

constructor

new ErrorService(dialog, settingsService)

Parameters

Name Type
dialog MatDialog
settingsService ArlasSettingsService

Defined in

projects/arlas-toolkit/src/lib/services/error/error.service.ts:33

Methods

closeAll

closeAll(): MatDialog

Returns

MatDialog

Defined in

projects/arlas-toolkit/src/lib/services/error/error.service.ts:83


emitAuthorisationError

emitAuthorisationError(error, forceAction?): void

Parameters

Name Type Default value
error AuthorisationError undefined
forceAction boolean true

Returns

void

Defined in

projects/arlas-toolkit/src/lib/services/error/error.service.ts:39


emitBackendError

emitBackendError(status, message, service): void

Parameters

Name Type
status number
message string
service string

Returns

void

Defined in

projects/arlas-toolkit/src/lib/services/error/error.service.ts:72


emitSettingsError

emitSettingsError(): void

Returns

void

Defined in

projects/arlas-toolkit/src/lib/services/error/error.service.ts:61


emitUnavailableService

emitUnavailableService(service): void

Parameters

Name Type
service string

Returns

void

Defined in

projects/arlas-toolkit/src/lib/services/error/error.service.ts:50