MCPcopy
hub / github.com/Zleap-AI/SAG / getErrorMessage

Function getErrorMessage

web/src/App.tsx:4025–4027  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

4023}
4024
4025function getErrorMessage(error: unknown) {
4026 return error instanceof Error ? error.message : String(error);
4027}
4028
4029function isAbortError(error: unknown) {
4030 return (error instanceof DOMException && error.name === "AbortError") ||

Callers 15

bootstrapFunction · 0.70
loadProjectsFunction · 0.70
loadProjectWorkspaceFunction · 0.70
loadDocumentWorkspaceFunction · 0.70
pollUploadJobsFunction · 0.70
createProjectFunction · 0.70
renameProjectFunction · 0.70
archiveOrRestoreProjectFunction · 0.70
permanentlyDeleteProjectFunction · 0.70
renameDocumentFunction · 0.70
archiveOrRestoreDocumentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected