errors

package
v0.0.0-...-62252a8 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: MulanPSL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Emit

func Emit(formatter string, params ...interface{}) error

func EmitCode

func EmitCode(code constants.ErrorCode) error

func EmitMsgAndCode

func EmitMsgAndCode(msg string, code constants.ErrorCode) error

Types

type E

type E struct {
	// contains filtered or unexported fields
}

func (*E) Code

func (f *E) Code() constants.ErrorCode

func (*E) Error

func (f *E) Error() string

Jump to

Keyboard shortcuts

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