MCPcopy 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
249function getErrorMessage(error: unknown): string {
250 return error instanceof Error ? error.message : String(error);
251}
252
253function truncateChangelogs(
254 releases: PackageRelease[],

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected