Source code for irfpy.asperacommon.excepts

''' Defines common exceptions.
'''

[docs]class DbPathNotFoundError(Exception): ''' Raised when database path does not found. ''' def __init__(self, value): self.value = value def __str__(self): return repr(self.value)
[docs]class DatafileNotFoundError(Exception): ''' Raised when data file is not found. ''' def __init__(self, value): self.value = value def __str__(self): return repr(self.value)