schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions module¶
This module contains exception classes for xsdtypes package
-
exception
schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.XMLDecodeError[source]¶ Bases:
ValueErrorRaised when a XML value string is not decodable to a Python object.
-
__init__(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
args¶
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.XMLEncodeError[source]¶ Bases:
ValueErrorRaised when an object is not encodable to an XML value string.
-
__init__(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
args¶
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.FileFormatError(data_format, filename, message=None)[source]¶ Bases:
ValueErrorThis exception is raised when a XML file has syntax errors.
-
__init__(data_format, filename, message=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
args¶
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.XMLValueError(value, type_name)[source]¶ Bases:
ValueErrorRaised when the decoded value is non validated.
-
args¶
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.XMLSchemaValidationError(message)[source]¶ Bases:
ValueErrorThis exception is raised when the XML configuration is not validated with the XSD schema.
-
args¶
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-