Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // New is the same as errors.New. New = stderrors.New // As is the same as errors.As. As = stderrors.As )
Functions ¶
Types ¶
type Wrappable ¶
type Wrappable interface {
Error() string
// contains filtered or unexported methods
}
Wrappable is a wrappable error.
type WrappableError ¶
type WrappableError struct {
// contains filtered or unexported fields
}
WrappableError is a wrappable struct that can be easily embedded in error types.
func (*WrappableError) Error ¶
func (e *WrappableError) Error() string
func (*WrappableError) Unwrap ¶
func (e *WrappableError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.