errutils

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrInvalidFileExtension   = "invalid file extension: '%s'. Expected: '%s'"
	ErrInvalidCmdLineArg      = "invalid command line argument"
	ErrFileNotExist           = "file %s does not exist"
	ErrNoContextFound         = "no context found to process"
	ErrBinaryNotFound         = "%s not found %s"
	ErrMissingPacks           = "missing packs. Use --packs option with cbuild command to install them"
	ErrETCPathNotFound        = "couldn't locate '%s' directory relative to '%s'"
	ErrInvalidContextFormat   = "invalid context format. Expected [<project-name>][.<build-type>][+<target-type>]"
	ErrNoFilteredContextFound = "no valid context found for '%s'"
	ErrInvalidCommand         = "invalid command '%s'. Run 'cbuild --help' for supported commands"
	ErrCPRJNotFound           = "couldn't locate %s file"
	ErrNinjaVersionNotFound   = "unable to find 'ninja' version"
	ErrAcceptNoArgs           = "command does not accept any arguments. Run '%s' for more information about a command"
	ErrRequireArg             = "command requires an input file argument. Run '%s' for more information about a command"
	ErrInvalidVersionString   = "invalid version %s. Expected %s"
	ErrInvalidNumJobs         = "invalid number of job slots specified for parallel execution. Expected: j>0"
	ErrMissingRequiredArg     = "setup command is missing mandatory option '--context-set' or '--active'"
	ErrDeleteFailed           = "failed to delete: '%s'"
	ErrPathNotExist           = "path does not exist: '%s'"
	ErrFetchingAbsPath        = "unable to get absolute path: '%s'"
	ErrInvalidPath            = "invalid path: '%s'"
	ErrPerfResults            = "unable to save performance results: %s"
	ErrNoCompilerRegistered   = "required compiler(s) not registered: '%s'"
	ErrInvalidTargetSetUsage  = "invalid target-set usage. The '-a' option cannot be used with the '-c' or '-S'"
	ErrInvalidSetUpArgs       = "invalid command line arguments. Options '-a' and '-S' are mutually exclusive"
	ErrInvalidInputArg        = "invalid input argument for '%s'"
	ErrInvalidCbuildFormat    = "invalid cbuild format: '%s'"
)
View Source
const (
	WarnNinjaVersion = "use Ninja 1.11.1 or higher for less verbose output"
)

Variables

This section is empty.

Functions

func New

func New(errorFormat string, args ...any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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