Documentation
¶
Overview ¶
Package fielderr rewrites the *expr.FieldError joined into an error: their paths, so that a path names the value from where the error is reported, and the errors of credentials, so that they quote none.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Prefix ¶
Prefix puts prefix before the path of each *expr.FieldError joined into err, so that the path names the value from further up.
func RedactCredentials ¶ added in v1.46.0
RedactCredentials replaces the error of each *expr.FieldError joined into err whose path goes through a credential, such as with.headers.authorization or with.password, keeping the path. So is that of a URL written in with whose user info holds a template, as the password of redis://app:{{vars.pw}}@host does.
Types ¶
This section is empty.