LlamaArgumentException class
Exception thrown when an argument or a combination of parameters is
invalid, such as by ModelParams.validate.
- Inheritance
-
- Object
- LlamaException
- LlamaArgumentException
Constructors
- LlamaArgumentException(String message, {String? name, Object? invalidValue})
- Creates a new LlamaArgumentException.
Properties
- details → dynamic
-
Optional detail about the error.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- invalidValue → Object?
-
The rejected value of name.
final
- message → String
-
A human-readable error message.
finalinherited
- name → String?
-
The name of the rejected argument, or
nullwhen a combination of arguments is at fault.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