Error class for exceptions. More...
#include "types.hpp"#include <exception>#include <string>#include <iosfwd>

Classes | |
| class | Exiv2::AnyError |
| Error class interface. Allows the definition and use of a hierarchy of error classes which can all be handled in one catch block. Inherits from the standard exception base-class, to make life easier for library users (they have the option of catching most things via std::exception). More... | |
| class | Exiv2::BasicError< charT > |
| Simple error class used for exceptions. An output operator is provided to print errors to a stream. More... | |
Namespaces | |
| namespace | Exiv2 |
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of the objects of this namespace. | |
Typedefs | |
| typedef BasicError< char > | Exiv2::Error |
| Error class used for exceptions (std::string based). | |
Functions | |
| template<typename charT , typename T > | |
| std::basic_string< charT > | Exiv2::toBasicString (const T &arg) |
| Generalised toString function. | |
| std::ostream & | Exiv2::operator<< (std::ostream &os, const AnyError &error) |
| AnyError output operator | |
| const char * | Exiv2::errMsg (int code) |
| Return the error message for the error with code code. | |
Error class for exceptions.
1.6.3