Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSafeError ¶
NewSafeError returns a new SafeError.
func NewSafeErrorf ¶
NewSafeErrorf returns a new SafeError with formatting.
Types ¶
type SafeError ¶
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 ¶
UnsafeError returns the full error message, which may contain sensitive information.
Click to show internal directories.
Click to hide internal directories.