ankadberr

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildErrorString

func BuildErrorString(errcode pb.CODE) string

BuildErrorString -

func FormatCode

func FormatCode(code pb.CODE) pb.CODE

FormatCode -

func GetErrCode

func GetErrCode(err interface{}) pb.CODE

GetErrCode -

Types

type AnkaError

type AnkaError interface {
	Error() string
	ErrCode() pb.CODE
}

AnkaError -

func NewError

func NewError(errcode pb.CODE) AnkaError

NewError -

Jump to

Keyboard shortcuts

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