(httpCode int, code string)
| 97 | } |
| 98 | |
| 99 | func (e *APIError) appendCode(httpCode int, code string) *APIError { |
| 100 | e.httpCode = httpCode |
| 101 | e.code = code |
| 102 | return e |
| 103 | } |
| 104 | |
| 105 | func (e *APIError) appendMsg(template *i18n.Template, args ...interface{}) *APIError { |
| 106 | msg := template.Render(args...) |
no outgoing calls
no test coverage detected