clean up
This commit is contained in:
parent
d0ddee257e
commit
bcc940100a
20 changed files with 112 additions and 130 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue