Source code for clinvar_api.exceptions

"""Module with the exception classes."""


[docs] class ClinvarApiException(Exception): """Base exception for ``clinvar_api``."""
[docs] class SubmissionFailed(ClinvarApiException): """Raised when there was a problem with submitting to ClinVar."""
[docs] class QueryFailed(ClinvarApiException): """Raised when the status query failed."""