Source code for clinvar_this.exceptions

"""Exceptions used in ``clinvar_this`` module."""


[docs] class ClinvarThisException(Exception): """Base exception class."""
[docs] class IOException(ClinvarThisException): """Raised on problems with I/O in ``clinvar-this``."""
[docs] class ConfigException(ClinvarThisException): """Raised on configuration problems with ``clinvar-this``."""
[docs] class ConfigFileMissingException(ClinvarThisException): """Raised if the configuration file is missing."""
[docs] class ArgumentsError(ClinvarThisException): """Raised on problems with program arguments."""
[docs] class InvalidFormat(ClinvarThisException): """Raised on problems file contents in ``clinvar-this``."""