faults

package module
v0.0.0-...-7111dfa Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// UnknownMethod unknown xml rpc method
	UnknownMethod = 1
	// IncorrectParameters  incorrect parameters result code
	IncorrectParameters = 2

	// BadArguments Bad argument result code for xml rpc
	BadArguments = 3

	// SignatureUnsupported signature unsupported result code for xml rpc
	SignatureUnsupported = 4

	// ShutdownState shutdown state result code
	ShutdownState = 6

	// BadName bad name result code
	BadName = 10

	// BadSignal bad signal result code
	BadSignal = 11
	// NoFile no such file result code
	NoFile = 20

	// NotExecutable not executable result code
	NotExecutable = 21

	// Failed failed result code
	Failed = 30

	// AbnormalTermination abnormal termination result code
	AbnormalTermination = 40

	// SpawnError spawn error result code
	SpawnError = 50

	// AlreadyStated already stated result code
	AlreadyStated = 60

	// NotRunning not running result code
	NotRunning = 70

	// Success success result code
	Success = 80

	// AlreadyAdded already added result code
	AlreadyAdded = 90

	// StillRunning still running result code
	StillRunning = 91

	// CantReRead can't re-read result code
	CantReRead = 92
)

Variables

This section is empty.

Functions

func NewFault

func NewFault(code int, desc string) error

NewFault create a Fault object as xml rpc result

Types

This section is empty.

Jump to

Keyboard shortcuts

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