| 53 | } |
| 54 | |
| 55 | type Codes interface { |
| 56 | Error() string |
| 57 | Code() int |
| 58 | Message() string |
| 59 | Detail() string |
| 60 | LocalizedMessage(lang string) string |
| 61 | StatusCode() int |
| 62 | } |
| 63 | |
| 64 | func (e Code) Detail() string { |
| 65 | if m, ok := _messages[e.Code()]; ok { |
no outgoing calls
no test coverage detected
searching dependent graphs…