Skip to main content

TileBatchError

Type Alias TileBatchError 

Source
pub type TileBatchError = BatchDecodeError<J2kError>;
Expand description

Error returned by J2K CPU tile batches.

Tile-specific codec failures retain their caller input index. Allocation, spawning, worker panic, and result-integrity failures are reported as typed infrastructure errors without inventing a tile-zero decode failure.

Aliased Type§

pub enum TileBatchError {
    Tile(TileBatchError<J2kError>),
    Infrastructure(BatchInfrastructureError),
}

Variants§

§

Tile(TileBatchError<J2kError>)

The first codec failure in caller input order.

§

Infrastructure(BatchInfrastructureError)

Allocation, scheduling, or collection failed independently of a tile.