aboutsummaryrefslogtreecommitdiffstats
path: root/lib/branch.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/branch.ml')
-rw-r--r--lib/branch.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/branch.ml b/lib/branch.ml
index d81702f..0b28663 100644
--- a/lib/branch.ml
+++ b/lib/branch.ml
@@ -6,8 +6,8 @@ module Make (NT : Nt.S) = struct
module Error = struct
open Condition
(* TODO: more structure *)
- let not_supported msg = condition "not-supported" ("message" |=| (of_string msg))
- let handle_error msg = condition "handle-error" ("message" |=| (of_string msg))
+ let not_supported msg = condition "not-supported" msg empty
+ let handle_error msg = condition "handle-error" msg empty
end
let ( let* ) = Result.bind