errs

package
v0.0.0-...-27e1e90 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 1 Imported by: 8

Documentation

Index

Constants

View Source
const (
	OctlReadConfigError = 1 + iota
	OctlWriteConfigError
	OctlInitClientError
	OctlWorkgroupAuthError
	OctlHttpRequestError
	OctlHttpStatusError
	OctlMessageParseError
	OctlNodeParseError
	OctlFileOperationError
	OctlGitOperationError
	OctlTaskWaitingError
	OctlArgumentError
	OctlSdkNotInitializedError
	OctlSdkPanicRecoverError
	OctlSdkBufferError
	OctlContextCancelError
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OctlError

type OctlError struct {
	// contains filtered or unexported fields
}

func New

func New(code int, emsg string) *OctlError

func (*OctlError) Code

func (e *OctlError) Code() int

func (*OctlError) Error

func (e *OctlError) Error() string

func (*OctlError) String

func (e *OctlError) String() string

Jump to

Keyboard shortcuts

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