(code ApiErrorType, message string)
| 39 | } |
| 40 | |
| 41 | func newApiErrorS(code ApiErrorType, message string) *ApiError { |
| 42 | return newApiError(code, LString(message)) |
| 43 | } |
| 44 | |
| 45 | func newApiErrorE(code ApiErrorType, err error) *ApiError { |
| 46 | return &ApiError{code, LString(err.Error()), "", err} |
no test coverage detected
searching dependent graphs…