class

Crig::StreamingError

Inherits Exception < Reference < Object

Constructors

completion(message : String) : self
Source
completion(error : Crig::Completion::CompletionError) : self
Source
new(message : String, kind : Kind = Kind::Other, completion_error : Crig::Completion::CompletionError | Nil = nil, prompt_error : Crig::Completion::PromptError | Nil = nil, tool_error : Exception | Nil = nil)
Source
prompt(message : String) : self
Source
tool(message : String) : self
Source
tool(error : Exception) : self
Source

Instance methods

completion_error
Source
kind
Source
prompt_error
Source
tool_error
Source

Nested types