Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { // Suggestions is a list of suggestions for the user. Suggestions []string // Timestamp is the timestamp of the error. Timestamp time.Time // Context is the context of the error. Context map[string]any // StackTrace is the stack trace of the error. StackTrace []string // Inner is the inner error of the error. Inner error }
Info contains additional information about the error.
func NewInfo ¶
func NewInfo() *Info
NewInfo creates a new Info.
Returns:
- *Info: A pointer to the new Info. Never returns nil.
Click to show internal directories.
Click to hide internal directories.