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/transport.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/transport.ml') diff --git a/lib/transport.ml b/lib/transport.ml index 90393da..4ed9743 100644 --- a/lib/transport.ml +++ b/lib/transport.ml @@ -23,7 +23,7 @@ module TCP : TRANSPORT = struct module Error = struct open Condition (* TODO: more structure *) - let parse_error msg = condition "parse-error" ("message" |=| (of_string msg)) + let parse_error msg = condition "parse-error" msg empty end let sockaddr_of_fields = function -- cgit v1.2.3