Documentation
¶
Index ¶
- func DirNotFound(path string) error
- func FileNotFound(path string) error
- func InvalidPath(pathType string, err error) error
- func MinValue(flagName string, minValue int) error
- func MutuallyExclusive(flag1, flag2 string) error
- func RequiredFlag(flagName string, examples ...string) error
- func ValidationError(message string) error
- func WrapError(operation string, err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirNotFound ¶
DirNotFound returns a standardized directory not found error
func FileNotFound ¶
FileNotFound returns a standardized file not found error
func InvalidPath ¶
InvalidPath returns a standardized invalid path error
func MutuallyExclusive ¶
MutuallyExclusive returns an error for mutually exclusive flags
func RequiredFlag ¶
RequiredFlag returns a standardized required flag error with help
func ValidationError ¶
ValidationError returns a standardized validation error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.