Skip to content

Commit

Permalink
Make row and column number more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
JBetz committed Jul 15, 2024
1 parent a2993a4 commit 5537c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Hasql/Errors.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5537c6e

Please sign in to comment.