Error returns a human readable representation of the error.
()
| 134 | |
| 135 | // Error returns a human readable representation of the error. |
| 136 | func (e Error) Error() string { |
| 137 | return fmt.Sprintf("%s: %s", e.Code.Error(), e.Message) |
| 138 | } |
| 139 | |
| 140 | // WithDetail will return a new Error, based on the current one, but with |
| 141 | // some Detail info added |
no outgoing calls