ginerrors

package
v0.0.0-...-854ad97 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NotInRepo is returned when a command needs to be run from within a repository
	NotInRepo = "this command must be run from inside a gin repository"

	// RequiresLogin is returned when a command requires the user to be logged in
	RequiresLogin = "this operation requires login"

	// BadPort is returned when a port number is outside the valid range (1..65535)
	BadPort = "port must be between 0 and 65535 (inclusive)"

	// MissingURLScheme is returned when a string is assumed to be a URL but does not contain a scheme (missing ://)
	MissingURLScheme = "could not determine protocol scheme (no ://)"

	// MissingGitUser is returned when a string is assumed to be a git configuration but does not contain a user (missing @)
	MissingGitUser = "could not determine git username (no @)"

	// MissingAnnex is returned when a repository doesn't have annex initialised (can also be used as a warning)
	MissingAnnex = "no annex information found: run 'gin init' to initialise annex"
)

Variables

This section is empty.

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