This commit is contained in:
parent
d5abae41b6
commit
94b8c50375
6 changed files with 154 additions and 172 deletions
|
|
@ -14,7 +14,7 @@
|
|||
along with this program. If not, see <https://www.gnu.org/licenses/>. *)
|
||||
|
||||
let error_detail ?hint _status =
|
||||
let open Types.ErrorDetail in
|
||||
let open Api_types.ErrorDetail in
|
||||
let open Json in
|
||||
let code = -1 in
|
||||
let s = encode_exn ErrorDetail.jsont { code; hint } in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue