v0.0.354
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 3m13s

This commit is contained in:
2024-01-05 07:21:43 +01:00
parent ef78b7467b
commit 1497c013f9
4 changed files with 18 additions and 6 deletions

View File

@@ -359,6 +359,10 @@ func (j jsonAPIErrResponse) Headers() []string {
return langext.ArrMap(j.headers, func(v headerval) string { return v.Key + "=" + v.Val })
}
func (j jsonAPIErrResponse) Unwrap() error {
return j.err
}
func Status(sc int) HTTPResponse {
return &emptyHTTPResponse{statusCode: sc}
}