MCPcopy
hub / github.com/gogf/gf / Error

Struct Error

errors/gerror/gerror_error.go:19–25  ·  view source on GitHub ↗

Error is custom error for additional features.

Source from the content-addressed store, hash-verified

17
18// Error is custom error for additional features.
19type Error struct {
20 error error // Wrapped error.
21 stack stack // Stack array, which records the stack information when this error is created or wrapped.
22 text string // Custom Error text when Error is created, might be empty when its code is not nil.
23 args []any // Custom arguments for formatting the error text.
24 code gcode.Code // Error code if necessary.
25}
26
27const (
28 // Filtering key for current error module paths.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected