Error thrown when a prompt is invalid.
This error should be thrown by providers when they cannot
process a prompt due to structural or content issues.
Constructors
Creates a new InvalidPromptError.
Parameters:
- prompt: The invalid prompt value (any type)
- message: Description of why the prompt is invalid
- cause: Optional underlying exception
SourceClass methods
Checks if the given value is an instance of InvalidPromptError.
SourceInstance methods
prompt
The invalid prompt value. Stored as JSON::Any to handle any type.
Source