API reference › @evolu/common › Type › typeErrorToStandardSchemaIssues
function typeErrorToStandardSchemaIssues<ExtraErrors>(
error: TypeErrors<ExtraErrors>,
path?: readonly PropertyKey[],
): readonly Issue[];
Defined in: packages/common/src/Type.ts:4756
Converts an Evolu TypeError to Standard Schema V1 issues format.
This function recursively converts Evolu's typed errors into the Standard
Schema issue format with proper path tracking for nested structures. The
message field contains the JSON-serialized typed error, which users can
deserialize and format using appropriate TypeErrorFormatters.