Errors#
Exceptions raised by modsmith. All of them derive from ModsmithError.
- exception Cancelled#
Bases:
ModsmithErrorA
CancelTokenstopped the operation. It can be run again later.
- exception DownloadError( )#
Bases:
ModsmithErrorOne or more downloads failed.
- Parameters:
- failures#
A reason for each file that failed.
- exception InstanceError#
Bases:
ModsmithErrorA game instance could not be read or changed.
- exception IntegrityError#
Bases:
ModsmithErrorA file does not match its expected size or hash.
- exception JavaError#
Bases:
ModsmithErrorA Java runtime could not be found or installed.
- exception LauncherError#
Bases:
ModsmithErrorThe launcher profile data could not be used.
- exception LoaderError#
Bases:
ModsmithErrorA mod loader could not be installed.
- exception NetworkError( )#
Bases:
ModsmithErrorAn HTTP request failed.
- status#
The HTTP status code, or None if no response arrived.
- exception PackError#
Bases:
ModsmithErrorA modpack archive is invalid.
- exception PlatformError#
Bases:
ModsmithErrorA platform could not provide the requested data.
- exception ProcessorError#
Bases:
LoaderErrorA Forge or NeoForge install processor failed.
- exception UnresolvedEntriesError(
- entries: Sequence[PackEntry],
Bases:
InstanceErrorA pack still has entries with no download.
- Parameters:
entries (Sequence[PackEntry]) – The entries that could not be found.
- entries#
The entries that could not be found.
- exception UnsupportedError#
Bases:
ModsmithErrorThe requested version, loader or format is not supported.