types

package
v0.6.4-rc0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrIPOperator = errors.New("ip operator error")

	ErrNoSuchReservation = ipOperatorError{
							// contains filtered or unexported fields
	}

	ErrReservationQuantityCannotBeZero = ipOperatorError{
										// contains filtered or unexported fields
	}
)

Functions

func Init

func Init()

func LookupError

func LookupError(code int) error

Types

type IPOperatorError

type IPOperatorError interface {
	error
	GetCode() int
}

type IPOperatorErrorResponse

type IPOperatorErrorResponse struct {
	Error string
	Code  int
}

Jump to

Keyboard shortcuts

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