Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Level logrus.Level
Functions ¶
Types ¶
type ErrLocation ¶
func GetLocation ¶ added in v2.20.0
func GetLocation(err error) ErrLocation
func (ErrLocation) String ¶ added in v2.20.0
func (l ErrLocation) String() string
type Error ¶
type Error struct { // Op is the operation being performed // this can be named by convention as packageName.FunctionName // eg: var op = "errors.E" // for methods on structs this can be packageName.structName.methodName Op Op Kind Kind Err error Location ErrLocation }
Click to show internal directories.
Click to hide internal directories.