MCPcopy Create free account
hub / github.com/Lakr233/AssppWeb / getErrorMessage

Function getErrorMessage

frontend/src/utils/error.ts:1–3  ·  view source on GitHub ↗
(e: unknown, fallback: string)

Source from the content-addressed store, hash-verified

1export function getErrorMessage(e: unknown, fallback: string): string {
2 return e instanceof Error ? e.message : fallback;
3}

Callers 7

handleLookupFunction · 0.90
handleLoadVersionsFunction · 0.90
handleLoadVersionsFunction · 0.90
handleReauthFunction · 0.90
handleSubmitFunction · 0.90
toastDownloadErrorFunction · 0.90
toastLicenseErrorFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected