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/management/physical.ml | |
| parent | 2190193397596663c4de4f51f8355300c1833997 (diff) | |
| download | Sakura-db3198d7c5ad7bc60bd24bd1bb2c7b122a6dfbd0.tar.gz Sakura-db3198d7c5ad7bc60bd24bd1bb2c7b122a6dfbd0.zip | |
Include messages on on all conditions
Diffstat (limited to 'lib/management/physical.ml')
| -rw-r--r-- | lib/management/physical.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/management/physical.ml b/lib/management/physical.ml index 3765cff..7c6f6b2 100644 --- a/lib/management/physical.ml +++ b/lib/management/physical.ml @@ -132,9 +132,9 @@ module MemoryBackend : module Error = struct open Condition (* TODO: more structure *) - let parse_error msg = condition "parse-error" ("message" |=| (of_string msg)) - let already_in_transaction = condition "already-in-transaction" empty - let not_in_transaction = condition "not-in-transaction" empty + let parse_error msg = condition "parse-error" msg empty + let already_in_transaction = condition "already-in-transaction" "Already inside a transaction" empty + let not_in_transaction = condition "not-in-transaction" "Not inside a transaction" empty end let parse sexp = |
