Skip to main content

Function: formatZ2FViteError()

formatZ2FViteError(error): string

Defined in: packages/vite/src/errors.ts:79

Format an error for inclusion in a Vite error overlay or terminal output. The error's message already includes the code prefix; this function appends the location line when available.

Parameters

error

Z2FViteError

Returns

string