Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAbort = errors.New("abort")
ErrAbort is an error for when the CLI aborts
Functions ¶
func GetErrorDescription ¶ added in v0.0.234
func GetErrorDescription(err error) string
func GetErrorSuggestion ¶ added in v0.0.234
func GetErrorSuggestion(err error) string
func IsCancelledError ¶ added in v0.0.234
func IsCancelledError(err error) bool
func PrintCLIOutput ¶ added in v0.0.234
func PrintCLIOutput(err error)
Types ¶
type ErrorDescription ¶ added in v0.0.234
type ErrorDescription interface {
error
Description() string
}
ErrorDescription is an error with a detailed description that will be printed before the CLI exits
type ErrorSuggestion ¶ added in v0.0.234
type ErrorSuggestion interface {
error
Suggestion() string
}
ErrorSuggestion is an error with suggested next steps that will be printed before the CLI exits
Click to show internal directories.
Click to hide internal directories.