Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SanitizedError ¶
type SanitizedError struct {
// contains filtered or unexported fields
}
SanitizedError allows errors to be wrapped with a sanitized message for sending upstream
func NewSanitizedError ¶
func NewSanitizedError(err error, sanitizedMsg string) *SanitizedError
func (*SanitizedError) Error ¶
func (e *SanitizedError) Error() string
func (*SanitizedError) SanitizedError ¶
func (e *SanitizedError) SanitizedError() string
Click to show internal directories.
Click to hide internal directories.