RegisterErrorCodeMap is called from API implementations to register their error code map. This should only be called from init functions.
(service string, m map[int32]string)
| 22 | // RegisterErrorCodeMap is called from API implementations to register their |
| 23 | // error code map. This should only be called from init functions. |
| 24 | func RegisterErrorCodeMap(service string, m map[int32]string) { |
| 25 | errorCodeMaps[service] = m |
| 26 | } |
| 27 | |
| 28 | type timeoutCodeKey struct { |
| 29 | service string |
no outgoing calls
no test coverage detected
searching dependent graphs…