mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-08 04:31:46 +08:00
13 lines
291 B
Go
13 lines
291 B
Go
package api
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
baseapp "github.com/SigNoz/signoz/pkg/query-service/app"
|
|
basemodel "github.com/SigNoz/signoz/pkg/query-service/model"
|
|
)
|
|
|
|
func RespondError(w http.ResponseWriter, apiErr basemodel.BaseApiError, data interface{}) {
|
|
baseapp.RespondError(w, apiErr, data)
|
|
}
|