ValidationErrorContext
Type Alias: ValidationErrorContext
Section titled “Type Alias: ValidationErrorContext”ValidationErrorContext =
object
Defined in: types.ts:86
Context passed to LoadConfigOptions.onValidationError.
Properties
Section titled “Properties”merged?
Section titled “merged?”
optionalmerged?: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
Section titled “sources”sources:
string[]
Defined in: types.ts:88
Names of the sources that contributed, in merge order.