Documentation ¶
Index ¶
- func NewExitCoder(err error) cli.ExitCoder
- type Err
- type ErrMatcher
- type ExitCoder
- type Fatality
- type Wrapper
- func (wrapper *Wrapper) AddReasonF(f string, vals ...interface{}) *Wrapper
- func (wrapper *Wrapper) AddReasons(reasons ...error) *Wrapper
- func (wrapper *Wrapper) Comment(comments ...string) *Wrapper
- func (wrapper *Wrapper) CommentF(f string, args ...interface{}) *Wrapper
- func (wrapper *Wrapper) Error() string
- func (wrapper *Wrapper) Errors() []error
- func (wrapper *Wrapper) ExitCode() int
- func (wrapper *Wrapper) Match(errs ...error) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExitCoder ¶
func NewExitCoder(err error) cli.ExitCoder
Types ¶
type ErrMatcher ¶
type Fatality ¶
func FatalString ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
func (*Wrapper) AddReasonF ¶
func (*Wrapper) AddReasons ¶
Click to show internal directories.
Click to hide internal directories.