exitcode

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Unknown unknown error
	Unknown = 100 + iota

	// Usage invalid usage
	Usage

	// MissingArguments missing required arguments for command
	MissingArguments

	// InvalidParams invalid func params
	InvalidParams

	// InvalidRunnerDependency means invalid runner dependency
	InvalidRunnerDependency

	// VariableNotFound means variable not found
	VariableNotFound
)
View Source
const (
	// RepoUnknown unknown error
	RepoUnknown = 200 + iota

	// RepoCheckoutFailed failed to checkout to head
	RepoCheckoutFailed

	// RepoDirty repository is dirty
	RepoDirty

	// RepoHeadNotFound repository head not found
	RepoHeadNotFound

	// RepoListFilesFailed list repo files failed
	RepoListFilesFailed

	// RepoDiffBaseNotFound basic commit to diff is empty
	RepoDiffBaseNotFound

	// RepoConfigNotFound config not found
	RepoConfigNotFound

	// RepoInvalidGitVersion git version not supported
	RepoInvalidGitVersion
)
View Source
const (
	// ContribForbidden unknown error
	ContribForbidden = 300 + iota

	// ContribHeadNotFound head not found
	ContribHeadNotFound

	// ContribSyncFailed failed to sync
	ContribSyncFailed

	// ContribLocked Remote was locked
	ContribLocked

	// ContribUnlock Remote is unlock
	ContribUnlock

	// ContribInvalidLog invalid log format
	ContribInvalidLog

	// ContribInvalidLock invalid lock format
	ContribInvalidLock
)
View Source
const (
	// Nil mean successfully
	Nil = iota
)

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