From 5537c6e0542aeb5f95a15dc29d72ac1761f8a250 Mon Sep 17 00:00:00 2001 From: Joe Betz Date: Mon, 15 Jul 2024 02:34:18 +0200 Subject: [PATCH] Make row and column number more explicit --- library/Hasql/Errors.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Hasql/Errors.hs b/library/Hasql/Errors.hs index c7fe084..0e8dd34 100644 --- a/library/Hasql/Errors.hs +++ b/library/Hasql/Errors.hs @@ -84,7 +84,7 @@ instance Exception SessionError where <> maybe "" (\h -> "\n Hint: " <> BC.unpack h) hint UnexpectedResult message -> "Unexpected result: " <> show message RowError row column rowError -> - "Row error: " <> show row <> ":" <> show column <> " " <> show rowError + "Error in row " <> show row <> ", column " <> show column <> ": " <> show rowError UnexpectedAmountOfRows amount -> "Unexpected amount of rows: " <> show amount