Typed NAP-LLM failure. Services and hosts throw it to pick the wire code; the message must already be safe to show (no provider bodies, no credentials).
throw new LlmServiceError('unsupported', 'This connection does not accept image input.'); Copy
throw new LlmServiceError('unsupported', 'This connection does not accept image input.');
Optional
Readonly
Stable NAP-LLM failure category.
Typed NAP-LLM failure. Services and hosts throw it to pick the wire code; the message must already be safe to show (no provider bodies, no credentials).
Example