Error implements error
()
| 65 | |
| 66 | // Error implements error |
| 67 | func (e Error) Error() string { |
| 68 | return fmt.Sprintf("%s %d %s", errPrefix, e.Code, e.Message) |
| 69 | } |
| 70 | |
| 71 | // Timeout indicates if error is timeout |
| 72 | func (e Error) Timeout() bool { |
no outgoing calls