This commit is contained in:
swrup 2026-03-03 10:09:03 +01:00
parent d0ddee257e
commit 86b2b3aa79
20 changed files with 104 additions and 120 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