errors

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFileNotSupported      = errors.New("file not supported for this command")
	ErrNamespaceNotSupported = errors.New("namespace not supported for this command")
	ErrSubcommandRequired    = errors.New("you must provide a subcommand")
	ErrUnexpectedArgs        = errors.New("unexpected arguments")
	ErrMissingRequiredArg    = func(arg string) error {
		return errors.New("missing required argument: " + arg)
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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