Skip to content

ValidationErrorContext

ValidationErrorContext = object

Defined in: types.ts:86

Context passed to LoadConfigOptions.onValidationError.

optional merged?: Record<string, unknown>

Defined in: types.ts:94

The merged input that failed validation. Only populated when includeValuesInErrors is true — otherwise omitted so a hook can’t accidentally leak secrets into logs.


sources: string[]

Defined in: types.ts:88

Names of the sources that contributed, in merge order.