Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ExitNormal means there is no errors ExitNormal = iota // ExitError returned on application error ExitError // ExitBadArgs returned on config parse error ExitBadArgs // ExitHelp returned when help was requested ExitHelp )
Variables ¶
View Source
var ( // ErrHelpRequest returned when help requested ErrHelpRequest = errors.New("help requested") // ErrPrinted returned after showing error message ErrPrinted = errors.New("error printed") )
Functions ¶
Types ¶
type ErrBadArgsContainer ¶ added in v0.2.0
type ErrBadArgsContainer struct {
// contains filtered or unexported fields
}
ErrBadArgsContainer holds config parse error
func (ErrBadArgsContainer) Error ¶ added in v0.2.0
func (e ErrBadArgsContainer) Error() string
Error returns inner Error()
Click to show internal directories.
Click to hide internal directories.