Documentation
¶
Overview ¶
Package kerr is an error with a unique ID
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Struct ¶
type Struct struct { // Unique ID for this error - used to identify this error in tests Id string // The inner error. Nil if this is the source error. Inner error // Path of the file that this error occurred in File string // Line number of the source where this error occurred Line int // Package path where the error occurred Package string // Function name where this error occurred Function string // Description is a description of the error if there is no inner error, or else // a description of the fucntion that returned the inner error Description string // Array of unique IDs of the error stack Stack []string }
Struct is an error with a unique Id.
func (Struct) ErrorStack ¶
ErrorStack returns the error id stack
Click to show internal directories.
Click to hide internal directories.