Documentation
¶
Overview ¶
Package pkg represents the interface errors.ErrorManager implementation.
Index ¶
- type Errors
- func (e *Errors) Cause(err error) error
- func (e *Errors) Errorf(format string, args ...interface{}) error
- func (e *Errors) FullMessage(err error) string
- func (e *Errors) New(message string) error
- func (e *Errors) ShortMessage(err error) string
- func (e *Errors) StackTrace(err error) stack.Stack
- func (e *Errors) WithMessage(err error, message string) error
- func (e *Errors) WithMessagef(err error, format string, args ...interface{}) error
- func (e *Errors) WithStack(err error) error
- func (e *Errors) Wrap(err error, message string) error
- func (e *Errors) Wrapf(err error, format string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Errors ¶
type Errors struct {
// contains filtered or unexported fields
}
Errors predetermines the consistency of the interface errors.ErrorManager implementation.
func (*Errors) FullMessage ¶
FullMessage provides error output from the stack.
func (*Errors) ShortMessage ¶
ShortMessage provides err.Error message.
func (*Errors) StackTrace ¶
StackTrace provides a call stack trace in the format stack.Stack.
func (*Errors) WithMessage ¶
WithMessage implementation of the pkg/errors.WithMessage method.
func (*Errors) WithMessagef ¶
WithMessagef implementation of the pkg/errors.WithMessagef method.