JJ: Description from the destination commit:
~ todos JJ: Description from source commit: todo pid
This commit is contained in:
parent
650264f21e
commit
abb665447b
12 changed files with 17 additions and 31 deletions
|
|
@ -1,7 +1,10 @@
|
|||
let ( let* ) o f = match o with Ok v -> f v | Error _ as e -> e
|
||||
let ( let+ ) o f = match o with Ok v -> Ok (f v) | Error _ as e -> e
|
||||
|
||||
(* TODO use polymorphic variant for errors *)
|
||||
(* TODO better errors
|
||||
use polymorphic variant for errors
|
||||
use GANA error codes:
|
||||
https://git.gnunet.org/gana.git/tree/gnu-taler-error-codes/registry.rec *)
|
||||
let unwrap_err_msg o = match o with Error (`Msg e) -> Error e | Ok v -> Ok v
|
||||
|
||||
let unwrap_err_caqti o =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue