MCPcopy Index your code
hub / github.com/vercel/micro / logError

Function logError

packages/micro/src/lib/error.ts:3–6  ·  view source on GitHub ↗
(message: string, errorCode: string)

Source from the content-addressed store, hash-verified

1// eslint-disable-next-line eslint-comments/disable-enable-pair
2/* eslint-disable no-console */
3export function logError(message: string, errorCode: string) {
4 console.error(`micro: ${message}`);
5 console.error(`micro: https://err.sh/micro/${errorCode}`);
6}

Callers 2

handleFunction · 0.90
micro.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected