Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSafeError ¶ added in v0.12.0
NewSafeError returns a new SafeError.
func NewSafeErrorf ¶ added in v0.12.0
NewSafeErrorf returns a new SafeError with formatting.
Types ¶
type SafeError ¶ added in v0.12.0
SafeError wraps an error which may contain sensitive information, allowing it to be matched without exposing sensitive details when logging the error.
func (*SafeError) UnsafeError ¶ added in v0.12.0
UnsafeError returns the full error message, which may contain sensitive information.
Click to show internal directories.
Click to hide internal directories.