Skip to content

EnvValidationError

EnvValidationError = object

Defined in: packages/env/src/types.ts:160

Describes a single validation failure for a binding.

Multiple failures are collected during init() and bundled into a single EnvError so all issues can be fixed in one pass.

key: string

Defined in: packages/env/src/types.ts:162

The binding name that failed validation (e.g., "DB").


message: string

Defined in: packages/env/src/types.ts:164

Human-readable description of the validation failure.