Skip to content

Commit

Permalink
Fix XPathEvaluationException.toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed Sep 18, 2023
1 parent d27e3b2 commit 8cc76e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/xpath/exceptions/evaluation_exception.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,7 @@ class XPathEvaluationException extends XmlException {
if (value != null) return value;
throw XPathEvaluationException('Undeclared function "$name"');
}

@override
String toString() => 'XPathEvaluationException: $message';
}

0 comments on commit 8cc76e5

Please sign in to comment.