This commit is contained in:
swrup 2026-03-03 10:09:03 +01:00 committed by Swrup
parent 93f2dcb292
commit 4bb62e369d
20 changed files with 112 additions and 130 deletions

View file

@ -1,6 +1,3 @@
(* TODO response
use ErrorDetail *)
let encode_error_detail err =
match Api.(encode ErrorDetail.jsont err) with
| Error e -> Fmt.failwith "json encoding error on `ErrorDetail`: %s." e