errorcode

package
v0.0.0-...-846bdf4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKusciaError

func NewKusciaError(errorCode errorcode.ErrorCode, 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    errorcode.ErrorCode
	Message      string
	ErrorDetails []interface{}
}

func (*KusciaError) Error

func (e *KusciaError) Error() string

Error is for the error interface

Jump to

Keyboard shortcuts

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