Skip to content

Function: conformanceFromDiagnostic()

conformanceFromDiagnostic(reason): VelloraConformanceError | undefined

Defined in: packages/vellora/src/errors.ts:169

Adapter: reconstruct a VelloraConformanceError from a core/native validation failure. The bridge may reject either with the typed error already, or with an error/object carrying { profile, errors }.

Parameters

reason

unknown

Returns

VelloraConformanceError | undefined