Error is custom error for additional features.
| 17 | |
| 18 | // Error is custom error for additional features. |
| 19 | type 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 | |
| 27 | const ( |
| 28 | // Filtering key for current error module paths. |
nothing calls this directly
no outgoing calls
no test coverage detected