clierror

package
v0.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL