clierrors

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnspecifiedErrorCode int = 100
	InterruptSignalCode  int = 101
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientError

type ClientError interface {
	ErrorCode() int
}

ClientError declares interface for errors known to the client that set specific error code.

type CommandFailedError

type CommandFailedError struct {
	FailedCount int
}

func (CommandFailedError) Error

func (err CommandFailedError) Error() string

func (CommandFailedError) ErrorCode

func (err CommandFailedError) ErrorCode() int

Jump to

Keyboard shortcuts

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