INNER CODE UNIT · Python
__init__
PharmGKB/PharmCAT · preprocessor/pcat/exceptions.py:20
def __init__(self, msg: Path | str):
super().__init__('Inappropriate VCF suffix (not ending with .vcf, .vcf.gz, .vcf.bgz, .bcf, or .bcf.bgzf): %s' % str(msg))
class InvalidURL(ReportableException):
"""Inappropriate URL. No downloadable content was found."""
def __init__(self, url: str):
super().__init__('Invalid URL: %s' % url)