Documentation
¶
Index ¶
- Variables
- func GetInternalError(err error) error
- func GetPublicMessage(err error) *string
- func NewPublic(msg string) error
- func NewPublicf(format string, args ...interface{}) error
- func PublicWrap(err error, publicMsg string) error
- func PublicWrapf(err error, publicMsgFormat string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
hoist some error functions for convenience
Functions ¶
func GetInternalError ¶
func GetPublicMessage ¶
func NewPublicf ¶
NewPublicf returns a new formatted error with public message
func PublicWrap ¶
PublicWrap wraps an error with a public message
func PublicWrapf ¶
PublicWrapf wraps an error with a public message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.