| 1 | "effect/ConfigError#And": |
| 2 | replacement: "SchemaIssue.Composite" |
| 3 | note: "The ConfigError boolean ADT was removed; combined schema failures are represented inside Config.ConfigError.cause as SchemaIssue.Composite." |
| 4 | "effect/ConfigError#ConfigError": |
| 5 | replacement: "Config.ConfigError" |
| 6 | note: "Config errors are now a class in effect/Config wrapping either ConfigProvider.SourceError or Schema.SchemaError." |
| 7 | "effect/ConfigError#ConfigError.Proto": |
| 8 | replacement: "Config.ConfigError" |
| 9 | note: "The public prototype interface was removed; use the Config.ConfigError class." |
| 10 | "effect/ConfigError#ConfigError.Reducer": |
| 11 | replacement: "none" |
| 12 | note: "The ConfigError-specific reducer API was removed; inspect ConfigError.cause and recurse over SchemaError.issue when structured handling is required." |
| 13 | "effect/ConfigError#ConfigErrorReducer": |
| 14 | replacement: "none" |
| 15 | note: "The ConfigError-specific reducer API was removed; inspect ConfigError.cause and recurse over SchemaError.issue when structured handling is required." |
| 16 | "effect/ConfigError#ConfigErrorTypeId": |
| 17 | replacement: "error instanceof Config.ConfigError" |
| 18 | note: "The marker is gone because ConfigError is a class in v4." |
| 19 | "effect/ConfigError#InvalidData": |
| 20 | replacement: "new Config.ConfigError(new Schema.SchemaError(issue))" |
| 21 | note: "Invalid configuration is now expressed as a SchemaIssue wrapped by SchemaError and Config.ConfigError." |
| 22 | "effect/ConfigError#isAnd": |
| 23 | replacement: "error.cause.issue._tag === \"Composite\"" |
| 24 | note: "After narrowing cause with Schema.isSchemaError, inspect the SchemaIssue tag; the old And node no longer exists." |
| 25 | "effect/ConfigError#isConfigError": |
| 26 | replacement: "error instanceof Config.ConfigError" |
| 27 | note: "ConfigError is a class in v4." |
| 28 | "effect/ConfigError#isInvalidData": |
| 29 | replacement: "Schema.isSchemaError(error.cause)" |
| 30 | note: "Parsing and validation failures are SchemaError causes; inspect the contained SchemaIssue for finer classification." |
| 31 | "effect/ConfigError#isMissingData": |
| 32 | replacement: "none" |
| 33 | note: "Do not infer semantic absence from a SchemaIssue. Use Config.withDefault or Config.option; they recover missing data, including Config.all groups with missing children, while preserving successful undefined and propagating validation and source errors." |
| 34 | "effect/ConfigError#isMissingDataOnly": |
| 35 | replacement: "Config.withDefault / Config.option" |
| 36 | note: "The public classifier was removed. These combinators handle absence without recursively classifying SchemaIssue values; invalid input and source errors still propagate." |
| 37 | "effect/ConfigError#isOr": |
| 38 | replacement: "error.cause.issue._tag === \"AnyOf\"" |
| 39 | note: "After narrowing cause with Schema.isSchemaError, AnyOf identifies schema union failures. Config.orElse does not combine failed attempts; it propagates only the fallback's error." |
| 40 | "effect/ConfigError#isSourceUnavailable": |
| 41 | replacement: "error.cause instanceof ConfigProvider.SourceError" |
| 42 | note: "Provider source failures now use the ConfigProvider.SourceError class." |
| 43 | "effect/ConfigError#isUnsupported": |
| 44 | replacement: "none" |
| 45 | note: "The Unsupported variant was removed; report unsupported custom decoding through a SchemaError or source failures through ConfigProvider.SourceError." |
| 46 | "effect/ConfigError#MissingData": |
| 47 | replacement: "none" |
| 48 | note: "There is no public missing-data error variant. A required absent config ultimately fails with a SchemaError, while Config.withDefault and Config.option handle semantic absence before it enters the public Effect error channel." |
| 49 | "effect/ConfigError#Options": |
| 50 | replacement: "none" |
| 51 | note: "The shared constructor options type was removed; ConfigProvider.SourceError accepts message and optional cause, while Schema issues have issue-specific constructors." |
| 52 | "effect/ConfigError#Or": |
| 53 | replacement: "SchemaIssue.AnyOf" |
| 54 | note: "The ConfigError boolean ADT was removed. Schema union failures can use SchemaIssue.AnyOf inside Config.ConfigError.cause; Config.orElse adopts the fallback's result instead of combining failed attempts." |
| 55 | "effect/ConfigError#prefixed": |
| 56 | replacement: "SchemaIssue.Pointer" |
| 57 | note: "Represent path context by wrapping the underlying SchemaIssue in a Pointer before constructing SchemaError." |
| 58 | "effect/ConfigError#reduceWithContext": |
| 59 | replacement: "none" |
| 60 | note: "The specialized fold was removed; branch on ConfigError.cause, then recurse over the public SchemaIssue union if a fold is needed." |
| 61 | "effect/ConfigError#SourceUnavailable": |
| 62 | replacement: "new ConfigProvider.SourceError({ message, cause })" |
| 63 | note: "Source failures moved to effect/ConfigProvider and are wrapped by Config.ConfigError when a Config is parsed." |
| 64 | "effect/ConfigError#Unsupported": |
| 65 | replacement: "none" |
| 66 | note: "The variant was removed; use a SchemaError for unsupported input or ConfigProvider.SourceError for source capability failures." |