From db3198d7c5ad7bc60bd24bd1bb2c7b122a6dfbd0 Mon Sep 17 00:00:00 2001 From: Estevan Castilho Date: Sat, 23 May 2026 01:07:14 +0000 Subject: Include messages on on all conditions --- lib/branch.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/branch.ml') 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 -- cgit v1.2.3