diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-15 00:57:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-15 00:57:45 +0100 |
| commit | ba540d35f8bf3557d5f3b0c55f7699563201e9b7 (patch) | |
| tree | 613bafc4fe75b3712646139c94998e5a13885602 /src/cxml.cc | |
| parent | 495a66b3bd82dd7db8f0bfa514acb6fbc79e4d41 (diff) | |
Improve error message.
Diffstat (limited to 'src/cxml.cc')
| -rw-r--r-- | src/cxml.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cxml.cc b/src/cxml.cc index 810abf8..2aad081 100644 --- a/src/cxml.cc +++ b/src/cxml.cc @@ -253,7 +253,7 @@ void cxml::Document::read_file (filesystem::path file) { if (!filesystem::exists (file)) { - throw cxml::Error ("XML file does not exist"); + throw cxml::Error ("XML file " + file.string() + " does not exist"); } _parser->parse_file (file.string ()); |
