""" Exceptions for metsrw. All exceptions generated by this library will descend from MetsError. """ [docs]class MetsError(Exception): """Base Exception for this module.""" [docs]class ParseError(MetsError): """Error parsing a METS file.""" [docs]class SerializeError(MetsError): """Error serializing a METS file."""