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()¶
staticshowSdkError(error):void
Defined in: utils/errorNotificationService.ts:20
Show a user-friendly error notification for SDK exceptions
Parameters¶
error¶
The structured SDK error information
Returns¶
void
showGenericSdkError()¶
staticshowGenericSdkError(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