mirror of
https://github.com/AngxiaoYue/ReQFlow.git
synced 2026-06-04 12:14:23 +08:00
26 lines
464 B
Python
26 lines
464 B
Python
"""Error class for handled errors."""
|
|
|
|
|
|
class DataError(Exception):
|
|
"""Data exception."""
|
|
pass
|
|
|
|
|
|
class FileExistsError(DataError):
|
|
"""Raised when file already exists."""
|
|
pass
|
|
|
|
|
|
class MmcifParsingError(DataError):
|
|
"""Raised when mmcif parsing fails."""
|
|
pass
|
|
|
|
|
|
class ResolutionError(DataError):
|
|
"""Raised when resolution isn't acceptable."""
|
|
pass
|
|
|
|
|
|
class LengthError(DataError):
|
|
"""Raised when length isn't acceptable."""
|
|
pass |