LanguageModelCallException class

A language-model call whose script failed in the window (the bridge answered {success: false, error}): a missing model, a refused consent, a network error inside VS Code.

Implemented types

Constructors

LanguageModelCallException(String operation, String message)

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
The error the window reported.
final
operation → String
The call that failed, e.g. LanguageModelChat.sendRequest.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited