![]() |
Plus | - Minimal XML for C++ | (Version 0.9.2) | Giancarlo Niccolai |
#include <mxml_error.h>
Inheritance diagram for MXML::Error:
Public Types | |
enum | codes { errNone = 0, errIo, errNomem, errOutChar, errInvalidNode, errInvalidAtt, errMalformedAtt, errInvalidChar, errUnclosed, errUnclosedEntity, errWrongEntity, errChildNotFound, errAttrNotFound, errHyerarcy, errCommentInvalid } |
Error codes This define what kind of error happened while decoding the XML document. More... | |
Public Member Functions | |
virtual const errorType | type () const=0 |
const std::string | description () |
Protected Member Functions | |
Error (const codes code, const Element *generator) | |
Private Attributes | |
int | m_code |
const Element * | m_generator |
Friends | |
std::ostream & | operator<< (std::ostream &stream, Error &err) |
Serializes the error. |
|
Error codes This define what kind of error happened while decoding the XML document.
|
|
|
|
|
|
Implemented in MXML::MalformedError, MXML::IOError, and MXML::NotFoundError. |
|
Serializes the error. Use this operator to display what kind of error has happened |
|
|
|
|