Skip to content

exceptions

xsdata.exceptions

ConverterError

Bases: ValueError

Converting values between document/python types related errors.

Source code in xsdata/exceptions.py
1
2
class ConverterError(ValueError):
    """Converting values between document/python types related errors."""

ConverterWarning

Bases: Warning

Converting values between document/python types recovered errors.

Source code in xsdata/exceptions.py
5
6
class ConverterWarning(Warning):
    """Converting values between document/python types recovered errors."""

ParserError

Bases: ValueError

Parsing related errors.

Source code in xsdata/exceptions.py
 9
10
class ParserError(ValueError):
    """Parsing related errors."""

XmlHandlerError

Bases: ValueError

Xml handler related errors.

Source code in xsdata/exceptions.py
13
14
class XmlHandlerError(ValueError):
    """Xml handler related errors."""

XmlWriterError

Bases: ValueError

Xml writer related errors.

Source code in xsdata/exceptions.py
17
18
class XmlWriterError(ValueError):
    """Xml writer related errors."""

SerializerError

Bases: ValueError

Serializing related errors.

Source code in xsdata/exceptions.py
21
22
class SerializerError(ValueError):
    """Serializing related errors."""

XmlContextError

Bases: ValueError

Unhandled behaviour during data binding.

Source code in xsdata/exceptions.py
25
26
class XmlContextError(ValueError):
    """Unhandled behaviour during data binding."""

ClientValueError

Bases: ValueError

Client related errors.

Source code in xsdata/exceptions.py
29
30
class ClientValueError(ValueError):
    """Client related errors."""