Error is a typed service error carrying a transport-neutral Kind alongside a human-readable message. It implements error and unwraps to any underlying cause so errors.Is/errors.As keep working.
| 44 | // human-readable message. It implements error and unwraps to any underlying |
| 45 | // cause so errors.Is/errors.As keep working. |
| 46 | type Error struct { |
| 47 | Kind ErrorKind |
| 48 | msg string |
| 49 | err error |
| 50 | } |
| 51 | |
| 52 | // Error returns the human-readable message. When constructed from an |
| 53 | // underlying error without an explicit message, it falls back to that error's |
nothing calls this directly
no outgoing calls
no test coverage detected