effect-io-ai

Package: effect
Module: Schema

Schema.redact

Middleware that wraps decoded errors in Redacted, preventing sensitive schema details from leaking in error messages.

Signature

declare const redact: <S extends Constraint>(schema: S) => middlewareDecoding<S, S["DecodingServices"]>

Source

Since v4.0.0