(message string)
| 24 | } |
| 25 | |
| 26 | func notFoundError(message string) *apiError { |
| 27 | return &apiError{http.StatusNotFound, serverapi.ErrorNotFound, message} |
| 28 | } |
| 29 | |
| 30 | func accessDeniedError() *apiError { |
| 31 | return &apiError{http.StatusForbidden, serverapi.ErrorAccessDenied, "access is denied"} |
no outgoing calls
no test coverage detected