logs-analyzer/signoz/ee/query-service/app/api/response.go

13 lines
281 B
Go
Raw Permalink Normal View History

2024-09-02 22:47:30 +03:00
package api
import (
"net/http"
baseapp "go.signoz.io/signoz/pkg/query-service/app"
basemodel "go.signoz.io/signoz/pkg/query-service/model"
)
func RespondError(w http.ResponseWriter, apiErr basemodel.BaseApiError, data interface{}) {
baseapp.RespondError(w, apiErr, data)
}