custom_errors

package
v0.4.23 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotOnline is caused by registry is not online
	ErrNotOnline = errors.New("not available on offline mode")
	//ErrNoVer is caused if the version does not exists in registry
	ErrNoVer = errors.New("not valid version")
	// ErrNoCand is caused if the candidate does not exists in registry
	ErrNoCand = errors.New("no valid candidate")
	// ErrVerNotIns is caused when the version is not installed
	ErrVerNotIns = errors.New("specified version not installed")
	// ErrArcNotIns is caused when the archive file does not exists in local directory
	ErrArcNotIns = errors.New("archive file not exists")
	// ErrNoCurrCands is caused when no sdk is used now
	ErrNoCurrCands = errors.New("no candidates are in use")
	// ErrVerExists is caused when trying to install already installed version
	ErrVerExists = errors.New("already installed version")
	// ErrVerInsFail is caused when installing version is failed
	ErrVerInsFail = errors.New("installation failed")
)

Functions

func ErrNoCurrSdk

func ErrNoCurrSdk(cand string) error

ErrNoCurrSdk is caused when no sdk of the candidate is in use

Types

This section is empty.

Jump to

Keyboard shortcuts

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