org.llm4s.error.CancelledError
See theCancelledError companion object
final case class CancelledError extends LLMError, NonRecoverableError
The operation was cancelled by interrupting its thread.
Interruption is how llm4s cancels work: an interrupted provider or tool call returns Left(CancelledError) and leaves the thread's interrupt flag set, so its caller can still see the interrupt. It is never retried.
Value parameters
- operation
-
what was cancelled, e.g.
"http.POST"or"openai.complete"
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait NonRecoverableErrortrait LLMErrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article