Skip to content

acmeportal


acmeportal / utils/errorNotificationService / ErrorNotificationService

Class: ErrorNotificationService

Defined in: utils/errorNotificationService.ts:14

Service for handling and displaying SDK-related errors to users

Constructors

Constructor

new ErrorNotificationService(): ErrorNotificationService

Returns

ErrorNotificationService

Methods

showSdkError()

static showSdkError(error): void

Defined in: utils/errorNotificationService.ts:20

Show a user-friendly error notification for SDK exceptions

Parameters

error

SdkError

The structured SDK error information

Returns

void


showGenericSdkError()

static showGenericSdkError(errorMessage, operation): void

Defined in: utils/errorNotificationService.ts:36

Show a generic SDK error when structured error info is not available

Parameters

errorMessage

string

The generic error message

operation

string

The operation that failed (e.g., "scanning for deployments")

Returns

void