Exception: Durable::Llm::NetworkError

Inherits:
Error
  • Object
show all
Defined in:
lib/durable/llm/errors.rb

Overview

Error raised when there is a network connectivity problem.

This occurs when the request cannot reach the LLM provider due to network issues, DNS problems, or connectivity failures.

Examples:

Handling network errors

begin
  client.complete("Hello")
rescue Durable::Llm::NetworkError => e
  puts "Network error: #{e.message}"
end