py_hla_match.exceptions

exception py_hla_match.exceptions.ARDMatchRefinementError(message, details=None)[source]

Bases: Exception

Error raised during refinement of ARD matched HLA alleles.

exception py_hla_match.exceptions.EmptyHLAStringError(message, details=None)[source]

Bases: MalformedHLAStringError

Error raised when an HLA string is empty.

exception py_hla_match.exceptions.InvalidLocusComparisonError(locus1, locus2)[source]

Bases: Exception

Exception raised when attempting to compare alleles from different loci.

exception py_hla_match.exceptions.MalformedHLADataSourceError(message, details=None)[source]

Bases: Exception

Error raised when an HLA data source is malformed or cannot be parsed.

exception py_hla_match.exceptions.MalformedHLAStringError(message, details=None)[source]

Bases: Exception

Error raised when an HLA string is malformed or cannot be parsed.

exception py_hla_match.exceptions.PyardLibraryError(message, details=None)[source]

Bases: Exception

Error raised when the external ‘pyard’ library fails unexpectedly.