errors

package
v0.0.0-...-768b79f Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortBinaryOverwriteError

type AbortBinaryOverwriteError struct {
	Binary string
}

AbortBinaryOverwriteError occurs if the overwrite of a binary is aborted

func (AbortBinaryOverwriteError) Error

type AlreadyInstalledLatestTagError

type AlreadyInstalledLatestTagError struct {
	Tag string
}

AlreadyInstalledLatestTagError occurs if you try to upgrade a binary but the latest version is already installed

func (AlreadyInstalledLatestTagError) Error

type AssetsNotFoundError

type AssetsNotFoundError struct {
	Tag string
}

AssetsNotFoundError occurs if no assets are found for a GitHub release

func (AssetsNotFoundError) Error

func (e AssetsNotFoundError) Error() string

type BinaryMismatchError

type BinaryMismatchError struct {
	BinaryName string
}

func (BinaryMismatchError) Error

func (e BinaryMismatchError) Error() string

type BinaryNotInstalledError

type BinaryNotInstalledError struct {
	Binary string
}

BinaryNotInstalledError occurs if you try to operate on a binary that is not installed

func (BinaryNotInstalledError) Error

func (e BinaryNotInstalledError) Error() string

type CLIFlagAndInputError

type CLIFlagAndInputError struct {
}

CLIFlagAndInputError occurs if you try to use a CLI flag with a CLI input at the same time

func (CLIFlagAndInputError) Error

func (e CLIFlagAndInputError) Error() string

type EmptyCLIInputError

type EmptyCLIInputError struct {
}

EmptyCLIInputError occurs if the CLI input is empty

func (EmptyCLIInputError) Error

func (e EmptyCLIInputError) Error() string

type ExitUserSelectionError

type ExitUserSelectionError struct {
	Err error
}

ExitUserSelectionError occurs when exiting from the terminal UI

func (ExitUserSelectionError) Error

func (e ExitUserSelectionError) Error() string

type IndexOutOfBoundsInLockfileError

type IndexOutOfBoundsInLockfileError struct {
}

IndexOutOfBoundsInLockfileError occurs if you try to access an out-of-bounds index in the lockfile packages

func (IndexOutOfBoundsInLockfileError) Error

type InstalledFromURLError

type InstalledFromURLError struct {
	Binary string
}

InstalledFromURLError occurs if you try to perform GitHub specific actions on a binary installed directly from a URL

func (InstalledFromURLError) Error

func (e InstalledFromURLError) Error() string

type InvalidGithubSearchQueryError

type InvalidGithubSearchQueryError struct {
	SearchQuery string
}

InvalidGithubSearchQueryError occurs if the GitHub search query contains invalid characters

func (InvalidGithubSearchQueryError) Error

type NoBinariesInstalledError

type NoBinariesInstalledError struct {
}

NoBinariesInstalledError occurs if you try to operate on a binary but no binaries are installed

func (NoBinariesInstalledError) Error

func (e NoBinariesInstalledError) Error() string

type NoGithubSearchResultsError

type NoGithubSearchResultsError struct {
	SearchQuery string
}

NoGithubSearchResultsError occurs if the GitHub search API returns no items

func (NoGithubSearchResultsError) Error

type NoPackagesInLockfileError

type NoPackagesInLockfileError struct {
}

NoPackagesInLockfileError occurs if you try to remove packages from a lockfile without any packages

func (NoPackagesInLockfileError) Error

type NonZeroStatusCodeDownloadError

type NonZeroStatusCodeDownloadError struct {
	StatusCode int
}

NonZeroStatusCodeDownloadError occurs if a non-zero status code is received when trying to download a file

func (NonZeroStatusCodeDownloadError) Error

type NonZeroStatusCodeError

type NonZeroStatusCodeError struct {
	StatusCode int
}

NonZeroStatusCodeError occurs if a non-zero status code is received from an HTTP request

func (NonZeroStatusCodeError) Error

func (e NonZeroStatusCodeError) Error() string

type ReleasesNotFoundError

type ReleasesNotFoundError struct {
	Owner string
	Repo  string
}

ReleasesNotFoundError occurs if no releases are found for a GitHub repo

func (ReleasesNotFoundError) Error

func (e ReleasesNotFoundError) Error() string

type UnrecognizedInputError

type UnrecognizedInputError struct {
}

UnrecognizedInputError occurs if the input is not recognized as a URL or GitHub repo

func (UnrecognizedInputError) Error

func (e UnrecognizedInputError) Error() string

type ZegetPathNotFoundError

type ZegetPathNotFoundError struct {
	ZegetPath string
}

ZegetPathNotFoundError occurs if the ~/.zeget path is not found

func (ZegetPathNotFoundError) Error

func (e ZegetPathNotFoundError) Error() string

Jump to

Keyboard shortcuts

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