()
| 67 | } |
| 68 | |
| 69 | func (e *APIError) IsTimeout() bool { |
| 70 | return timeoutCodes[timeoutCodeKey{e.Service, e.Code}] |
| 71 | } |
| 72 | |
| 73 | // CallError is the type returned by appengine.Context's Call method when an |
| 74 | // API call fails in a generic way, such as RpcError::CAPABILITY_DISABLED. |