exitcodes

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WrongMode int = 1 // Wrong mode. Either not specified or invalid.
	WrongPid  int = 2 // Wrong PID. Either not specified or -1.

	CallerAlreadyAttached int = 3 // Calling process is already attached to a console.
	TargetHaveNoConsole   int = 4 // Target process does not have a console.
	ProcessDoesNotExist   int = 5 // Target process does not exist.
	AttachFailed          int = 6 // AttachConsole failed for unknown reason.

	WrongSig          int = 7 // Wrong signal. Either not specified or invalid.
	EnableCtrlCFailed int = 8 // SetConsoleCtrlHandler failed.
	SendSigFailed     int = 9 // GenerateConsoleCtrlEvent failed.

	NoMessage int = 10 // Empty or no message specified.

	GetStdInHandleFailed  int = 11 // Failed to retrieve standard input handler.
	GetStdOutHandleFailed int = 12 // Failed to retrieve standard output handler.
	GetStdErrHandleFailed int = 13 // Failed to retrieve standard error handler.

	MakeStdInFileFailed  int = 14 // Failed to create a new file for standard input.
	MakeStdOutFileFailed int = 15 // Failed to create a new file for standard output.
	MakeStdErrFileFailed int = 16 // Failed to create a new file for standard error.

	SetStdInHandleFailed  int = 17 // Failed to set standard input handler.
	SetStdOutHandleFailed int = 18 // Failed to set standard output handler.
	SetStdErrHandleFailed int = 19 // Failed to set standard error handler.

	ConvertMsgFailed int = 20 // Failed to convert string message to array of inputRecord.
	WriteMsgFailed   int = 21 // Failed to write array of inputRecord to the current console's input.
)

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