Exception: Agentic::Errors::LlmTimeoutError

Inherits:
LlmError
  • Object
show all
Defined in:
lib/agentic/errors/llm_error.rb

Overview

Error raised when the request to the LLM times out

Instance Attribute Summary

Attributes inherited from LlmError

#context, #response

Instance Method Summary collapse

Constructor Details

#initialize(message, context: nil) ⇒ LlmTimeoutError

Returns a new instance of LlmTimeoutError.

Parameters:

  • message (String)

    The error message

  • context (Hash, nil) (defaults to: nil)

    Additional context about the error



159
160
161
# File 'lib/agentic/errors/llm_error.rb', line 159

def initialize(message, context: nil)
  super(message, context: context)
end

Instance Method Details

#retryable?Boolean

Returns Whether this error is retryable.

Returns:

  • (Boolean)

    Whether this error is retryable



164
165
166
# File 'lib/agentic/errors/llm_error.rb', line 164

def retryable?
  true
end