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/icl | |
| parent | 2190193397596663c4de4f51f8355300c1833997 (diff) | |
| download | Sakura-db3198d7c5ad7bc60bd24bd1bb2c7b122a6dfbd0.tar.gz Sakura-db3198d7c5ad7bc60bd24bd1bb2c7b122a6dfbd0.zip | |
Include messages on on all conditions
Diffstat (limited to 'lib/icl')
| -rw-r--r-- | lib/icl/executor.ml | 2 | ||||
| -rw-r--r-- | lib/icl/parser.ml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/icl/executor.ml b/lib/icl/executor.ml index 7c23a28..084fb71 100644 --- a/lib/icl/executor.ml +++ b/lib/icl/executor.ml @@ -1,7 +1,7 @@ module Make (NT : Nt.S) = struct module Error = struct open Condition - let multigroup_not_found name = condition "multigroup-not-found" ("name" |=| (of_string name)) + let multigroup_not_found name = condition "multigroup-not-found" "Multigroup not found" ("name" |=| (of_string name)) end let ( let* ) = Result.bind diff --git a/lib/icl/parser.ml b/lib/icl/parser.ml index 49fa7e0..a4df914 100644 --- a/lib/icl/parser.ml +++ b/lib/icl/parser.ml @@ -1,6 +1,6 @@ module Error = struct open Condition - let parse_error msg = condition "parse-error" ("message" |=| (of_string msg)) + let parse_error msg = condition "parse-error" msg empty end let of_sexp sexp = |
