MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / RedactableError

Struct RedactableError

base/redactable_error.go:17–20  ·  view source on GitHub ↗

RedactableError is an error that can be used as a drop-in replacement for an error, which has the ability to redact any sensitive data by calling redact() on all of its args.

Source from the content-addressed store, hash-verified

15// RedactableError is an error that can be used as a drop-in replacement for an error,
16// which has the ability to redact any sensitive data by calling redact() on all of its args.
17type RedactableError struct {
18 fmt string
19 args []interface{}
20}
21
22var (
23 _ error = &RedactableError{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected