Kreuzberg.ErrorMetadata (kreuzberg v4.4.2)

Copy Markdown View Source

Error metadata when extraction partially failed.

Matches the Rust ErrorMetadata struct.

Fields

  • :error_type - The type/category of the error
  • :message - Human-readable error message

Summary

Types

t()

@type t() :: %Kreuzberg.ErrorMetadata{error_type: String.t(), message: String.t()}

Functions

from_map(data)

@spec from_map(map()) :: t()

to_map(err)

@spec to_map(t()) :: map()