errors

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandNotFound

func CommandNotFound(command string) error

CommandNotFound returns a command not found error

func DuplicateCommand

func DuplicateCommand(command string) error

DuplicateCommand returns a duplicate command error

func FlagsetParseFailed added in v0.8.0

func FlagsetParseFailed(reason string) error

FlagsetParseFailed returns a flagset parse failed error

func FlagsetSetFailed added in v0.8.0

func FlagsetSetFailed(reason string) error

FlagsetSetFailed returns a flagset set failed error

func HelpRequested added in v0.8.0

func HelpRequested(reason string) error

HelpRequested returns a help requested error

func IsHelpRequested added in v0.8.0

func IsHelpRequested(err error) bool

IsHelpRequested determines if the specified error is a help requested error

func OptionIsInvalid

func OptionIsInvalid(option string) error

OptionIsInvalid returns an option is invalid error

func OptionIsSet

func OptionIsSet(option string) error

OptionIsSet returns an option is set error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL