mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-05-28 15:41:29 +00:00
f1038329ee
* restructured main script to use parsers, replacing the old logic
30 lines
445 B
Python
30 lines
445 B
Python
class AtrError(RuntimeError):
|
|
pass
|
|
|
|
class InvalidAtrHeader(AtrError):
|
|
pass
|
|
|
|
class InvalidDiskImage(AtrError):
|
|
pass
|
|
|
|
class InvalidDirent(AtrError):
|
|
pass
|
|
|
|
class LastDirent(AtrError):
|
|
pass
|
|
|
|
class InvalidFile(AtrError):
|
|
pass
|
|
|
|
class FileNumberMismatchError164(InvalidFile):
|
|
pass
|
|
|
|
class ByteNotInFile166(InvalidFile):
|
|
pass
|
|
|
|
class InvalidBinaryFile(InvalidFile):
|
|
pass
|
|
|
|
class InvalidSegmentParser(AtrError):
|
|
pass
|