forked from TrueCloudLab/frostfs-http-gw
8 lines
142 B
Go
8 lines
142 B
Go
|
package response
|
||
|
|
||
|
import "github.com/valyala/fasthttp"
|
||
|
|
||
|
func Error(r *fasthttp.RequestCtx, msg string, code int) {
|
||
|
r.Error(msg+"\n", code)
|
||
|
}
|