diff options
| author | Estevan Castilho <tevo@riajuu.net> | 2026-05-23 01:07:14 +0000 |
|---|---|---|
| committer | Estevan Castilho <tevo@riajuu.net> | 2026-05-23 01:07:14 +0000 |
| commit | db3198d7c5ad7bc60bd24bd1bb2c7b122a6dfbd0 (patch) | |
| tree | 0671ce12b98db653af87de99a443b9f83a623cb5 /lib/branch.ml | |
| parent | 2190193397596663c4de4f51f8355300c1833997 (diff) | |
| download | Sakura-db3198d7c5ad7bc60bd24bd1bb2c7b122a6dfbd0.tar.gz Sakura-db3198d7c5ad7bc60bd24bd1bb2c7b122a6dfbd0.zip | |
Include messages on on all conditions
Diffstat (limited to 'lib/branch.ml')
| -rw-r--r-- | lib/branch.ml | 4 |
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 |
