Documentation ¶ Index ¶ func NewPublic(internalMsg string, publicMsg string) error func Opaque(err error, msg string) error func Public(err error) string func Wrap(err error, msg string) error type PublicError func (e PublicError) Error() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewPublic ¶ func NewPublic(internalMsg string, publicMsg string) error func Opaque ¶ func Opaque(err error, msg string) error func Public ¶ func Public(err error) string func Wrap ¶ func Wrap(err error, msg string) error Types ¶ type PublicError ¶ type PublicError struct { // contains filtered or unexported fields } func (PublicError) Error ¶ func (e PublicError) Error() string Source Files ¶ View all Source files errors.go Click to show internal directories. Click to hide internal directories.