Error is a wrapper around an error that adds context to the error.
| 2669 | |
| 2670 | // Error is a wrapper around an error that adds context to the error. |
| 2671 | type Error struct { |
| 2672 | msg string |
| 2673 | |
| 2674 | Errors []error |
| 2675 | |
| 2676 | code *int |
| 2677 | } |
| 2678 | |
| 2679 | func (e *Error) Error() string { |
| 2680 | var cause string |
nothing calls this directly
no outgoing calls
no test coverage detected