Package: effect
Module: Config
Represents the error type produced when config loading or validation fails.
When to use
Use when you need to inspect config loading or validation failures.
Details
Wraps either:
SourceError — the provider could not read data (I/O failure).SchemaError — the data was found but did not match the schema
(wrong type, out of range, missing key, etc.).See
orElse – recover from a ConfigErrorwithDefault – provide a fallback for missing-data errorsSignature
declare class ConfigError { constructor(cause: SourceError | Schema.SchemaError) }
Since v4.0.0