Skip to main content

Module error

Module error 

Source
Expand description

Errors produced by the FoundationModels bridge.

Structs§

GenerationErrorContext
Structured generation-error context.
Refusal
Typed refusal helper returned by generation-refusal errors.
SchemaErrorContext
Structured schema-validation error context.
ToolCallError
Typed tool-call failure metadata.

Enums§

FMError
Top-level error type returned by all fallible APIs in this crate.
Unavailability
Reason why SystemLanguageModel is unavailable.