errors

package
v0.0.1-dev-fe9d83c Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BadRequest          = "bad request"
	InternalServerError = "internal server error"
)
View Source
const (
	Service = "service"
)

Variables

View Source
var (
	ServiceNotFound    = errors.New("service not found")
	TuningNotFound     = errors.New("tuning parameter not found")
	TuningValueInvalid = errors.New("tuning value is invalid")
	LicensesNotFound   = errors.New("licenses not found")

	DataCenterIsNotReady  = errors.New("data center is not set ready")
	DataCenterIsRepairing = errors.New("data center is repairing")
)

Functions

func CombineErrors

func CombineErrors(errs []error) error

Types

type Template

type Template struct {
	Occurred bool
	Type     string
	Msg      string
	Raw      error
}

func ErrService

func ErrService(err error) Template

func (Template) Error

func (t Template) Error() string

Jump to

Keyboard shortcuts

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