errorcode

package
v0.0.0-...-fb0e841 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 0 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKusciaError

func NewKusciaError(errorCode KusciaErrorCode, message string, a ...interface{}) error

func NoError

func NoError(errs *Errs) bool

Types

type Errs

type Errs []error

func (*Errs) AppendErr

func (errs *Errs) AppendErr(err error)

func (*Errs) Assert

func (errs *Errs) Assert(err error)

func (*Errs) String

func (errs *Errs) String() string

type KusciaError

type KusciaError struct {
	ErrorCode    KusciaErrorCode
	Message      string
	ErrorDetails []interface{}
}

func (*KusciaError) Error

func (e *KusciaError) Error() string

Error is for the error interface

type KusciaErrorCode

type KusciaErrorCode int32

Jump to

Keyboard shortcuts

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