Skip to content

Commit 8543e88

Browse files
committed
feat: parsing exception shows details of the particular failure
1 parent 245ad0d commit 8543e88

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

QueryKit/Exceptions/ParsingException.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ namespace QueryKit.Exceptions;
33
public sealed class ParsingException : Exception
44
{
55
public ParsingException(Exception exception)
6-
: base($"There was a parsing failure, likely due to an invalid comparison or logical operator. You may also be missing double quotes surrounding a string or guid.", exception)
6+
: base(@$"There was a parsing failure, likely due to an invalid comparison or logical operator. You may also be missing double quotes surrounding a string or guid.
7+
8+
{exception.Message}", exception)
79
{
810
}
911
}

0 commit comments

Comments
 (0)