This commit is contained in:
swrup 2025-12-03 16:19:11 +01:00 committed by Swrup
parent 099cd80670
commit b507d540ad
43 changed files with 5647 additions and 1808 deletions

View file

@ -17,7 +17,8 @@ module Respond_with = struct
let error_detail ?hint _status =
let open Api in
let code = -1 in
let s = encode_exn ErrorDetail.jsont { code; hint } in
let err = ErrorDetail.make ?hint code in
let s = encode_exn ErrorDetail.jsont err in
s
end