wiithon.exceptions module
Exception hierarchy for wiithon
Everything raised by this library because of data derives from WiithonError Invalid arguments still raise the usual builtins (ValueError, TypeError)
This module must not import anything from wiithon
- exception wiithon.exceptions.WiithonError[source]
Bases:
ExceptionBase class for every wiithon error
- exception wiithon.exceptions.BinaryError[source]
Bases:
WiithonErrorReading or writing past the bounds of a stream
- exception wiithon.exceptions.InvalidFormatError[source]
Bases:
WiithonErrorMagic word missing or wrong: the data is not of the expected format
- exception wiithon.exceptions.InvalidDiscError[source]
Bases:
InvalidFormatErrorThe file is not a valid Wii disc image
- exception wiithon.exceptions.CorruptedDataError[source]
Bases:
WiithonErrorHeader parsed, but the content is inconsistent (bad hash, bad sizes)
- exception wiithon.exceptions.NoDataPartitionError[source]
Bases:
WiithonErrorThe disc image has no DATA partition
- exception wiithon.exceptions.FstError[source]
Bases:
WiithonErrorError while walking the disc File System Table
- exception wiithon.exceptions.FstFileNotFoundError[source]
Bases:
FstError,FileNotFoundErrorNo such path in the FST
- exception wiithon.exceptions.FstIsADirectoryError[source]
Bases:
FstError,IsADirectoryErrorThe FST path points at a directory, a file was expected
- exception wiithon.exceptions.ArchiveError[source]
Bases:
WiithonErrorError while reading or editing an archive
- exception wiithon.exceptions.ArchiveFileNotFoundError[source]
Bases:
ArchiveError,FileNotFoundErrorNo such path inside the archive
- exception wiithon.exceptions.ArchiveIsADirectoryError[source]
Bases:
ArchiveError,IsADirectoryErrorThe archive path points at a directory, a file was expected
- exception wiithon.exceptions.ArchiveEntryExistsError[source]
Bases:
ArchiveError,FileExistsErrorAn entry with this name already exists in the target directory
- exception wiithon.exceptions.BCSVFileError[source]
Bases:
InvalidFormatErrorThrown when an error occurs while parsing/writing BCSV data.
- exception wiithon.exceptions.DolError[source]
Bases:
WiithonErrorError while inspecting or patching a DOL executable
- exception wiithon.exceptions.DolSectionNotFoundError[source]
Bases:
DolErrorNo DOL section covers the requested virtual address