exitcode

package
v1.91.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Success is used when a heartbeat was sent successfully.
	Success = 0
	// ErrGeneric is used for general errors.
	ErrGeneric = 1
	// ErrAPI is when the WakaTime API returned an error.
	ErrAPI = 102
	// ErrAuth is used when the api key is invalid.
	ErrAuth = 104
	// ErrConfigFileParse is used when the ~/.wakatime.cfg config file could not be parsed.
	ErrConfigFileParse = 103
	// ErrConfigFileRead is used for errors of config read command.
	ErrConfigFileRead = 110
	// ErrConfigFileWrite is used for errors of config write command.
	ErrConfigFileWrite = 111
	// ErrBackoff is used when sending heartbeats postponed because we're currently rate limited.
	ErrBackoff = 112
)

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