EmbeddingLoadException class final

The engine could not load the model, or refused the requested configuration (e.g. a modality it cannot serve).

Inheritance

Constructors

EmbeddingLoadException(String message, {required String engine, int? nativeCode, Object? cause})
const

Properties

cause → Object?
The underlying error, when there is one. Not carried across the embedding worker boundary (it may not be sendable); there the message says it.
finalinherited
engine → String
Which engine refused, e.g. LiteRT.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
What happened, in words meant for a developer.
finalinherited
nativeCode → int?
The runtime's status code, when it reported one.
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.
inherited

Operators

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