PatchErrorCode enum

Error codes for different types of patch operation failures.

Inheritance
Available extensions

Values

invalidHeader → const PatchErrorCode

The patch file header is invalid or unrecognized.

fileTooSmall → const PatchErrorCode

The patch file is too small to contain valid data.

checksumMismatch → const PatchErrorCode

A checksum or hash validation failed.

unsupportedFormat → const PatchErrorCode

The patch format is not supported.

romTooSmall → const PatchErrorCode

The ROM file is too small for the patch.

corruptedPatch → const PatchErrorCode

The patch file is corrupted or contains invalid data.

unexpectedError → const PatchErrorCode

An unexpected error occurred during patch application.

truncatedPatch → const PatchErrorCode

The patch file is truncated or incomplete.

invalidOffset → const PatchErrorCode

The patch contains invalid offset or size data.

formatDetectionFailed → const PatchErrorCode

The patch format could not be auto-detected.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PatchErrorCode>
A constant List of the values in this enum, in order of their declaration.