code

package
v0.0.0-...-a560954 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(code ErrCode, format string, v ...interface{}) error

Types

type ErrCode

type ErrCode int32
const (
	OK ErrCode = iota
	InvalidArgument
	NotFound
	Internal
)

func From

func From(err error) ErrCode

Jump to

Keyboard shortcuts

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