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/ddl/executor.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ddl/executor.ml') diff --git a/lib/ddl/executor.ml b/lib/ddl/executor.ml index de64cf5..c61b02e 100644 --- a/lib/ddl/executor.ml +++ b/lib/ddl/executor.ml @@ -2,8 +2,8 @@ module Make (NT : Nt.S) = struct module Error = struct open Condition (* TODO: more structure *) - let relation_not_found name = condition "relation-not-found" ("name" |=| (of_string name)) - let multigroup_not_found name = condition "multigroup-not-found" ("name" |=| (of_string name)) + let relation_not_found name = condition "relation-not-found" "Relation 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 -- cgit v1.2.3