Documentation
¶
Index ¶
- Variables
- func Cause(err error) error
- func Error(err error) string
- func Has(err error, test error) bool
- func New(template string, args ...interface{}) error
- func WithStack(cause error) error
- func WithStackf(cause error, template string, args ...interface{}) error
- func Wrap(cause error) error
- func Wrapf(cause error, template string, args ...interface{}) error
- type Causer
- type Errors
- type Fault
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxDepth = 50
Functions ¶
func WithStackf ¶
Types ¶
type Fault ¶
type Fault struct {
// contains filtered or unexported fields
}
func (*Fault) Format ¶
Format implements the interface https://golang.org/pkg/fmt/#Formatter eg: https://github.com/go-stack/stack/blob/master/stack.go#L85
Click to show internal directories.
Click to hide internal directories.