diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2007-01-20 20:22:27 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2007-01-20 20:22:27 +0100 |
commit | 93d41b24803dfeb838ba21adc40937358be651df (patch) | |
tree | 46d4aaee282894f307e16dd5fa736c30359db513 /src/libpyexiv2.hpp | |
parent | f036a7eafc6ae33f2983af58da0af88fb755f727 (diff) | |
download | pyexiv2-93d41b24803dfeb838ba21adc40937358be651df.tar.gz |
Basic handling of Exiv2 exceptions which are now converted to corresponding Python exceptions.
Diffstat (limited to 'src/libpyexiv2.hpp')
-rw-r--r-- | src/libpyexiv2.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libpyexiv2.hpp b/src/libpyexiv2.hpp index 1af3134..dff97ce 100644 --- a/src/libpyexiv2.hpp +++ b/src/libpyexiv2.hpp @@ -132,6 +132,9 @@ namespace LibPyExiv2 bool _dataRead; }; + // Translate an Exiv2 generic exception into a Python exception + void translateExiv2Error(Exiv2::Error const& e); + } // End of namespace LibPyExiv2 #endif |