Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAbort = NewExitError("Aborted.")
ErrAbort represents a situation where a user has been asked to perform an action but they've decided to abort.
View Source
var ErrTerminalRequired = NewExitError("This action must be performed in an attached terminal or all arguments must be passed.")
ErrTerminalRequired represents a situation where a connected terminal is required to perform the action.
Functions ¶
func MultiError ¶ added in v0.29.0
func MultiError(errors ...error) cli.MultiError
MultiError loops over all given errors unpacks them and then creates a new MultiError for non-nil entries.
func NewErrorExitError ¶
NewErrorExitError creates an ExitError with an appended error message
func NewExitError ¶
NewExitError creates an ExitError with -1
func NewNotFound ¶ added in v0.30.0
NewNotFound returns an error representing a NotFound error
func NewUsageExitError ¶
NewUsageExitError creates an ExitError with appended usage text
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.