Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/remix-run/react-router
/ getErrorMessage
Function
getErrorMessage
scripts/changes/pr.ts:249–251 ·
view source on GitHub ↗
(error: unknown)
Source
from the content-addressed store, hash-verified
247
}
248
249
function
getErrorMessage(error: unknown): string {
250
return
error instanceof Error ? error.message : String(error);
251
}
252
253
function
truncateChangelogs(
254
releases: PackageRelease[],
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected