Documentation
¶
Index ¶
- func Is(err error, target error) bool
- func Join(items ...error) error
- func New(msg string) error
- func NewPublic(internalMsg string, publicMsg string) error
- func Opaque(err error, msg string) error
- func Public(err error) string
- func Unwrap(err error) error
- func Wrap(err error, msg string) error
- type PublicError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PublicError ¶ added in v0.0.12
type PublicError struct {
// contains filtered or unexported fields
}
func (PublicError) Error ¶ added in v0.0.12
func (e PublicError) Error() string
Click to show internal directories.
Click to hide internal directories.