A failed chunk with its byte position in the source and error reason.
Summary
Functions
Builds an error carrying chunk's byte range.
Types
@type t() :: %LangExtract.Pipeline.ChunkError{ byte_end: non_neg_integer(), byte_start: non_neg_integer(), reason: term() }
Functions
@spec from_chunk(LangExtract.Chunker.Chunk.t(), term()) :: t()
Builds an error carrying chunk's byte range.