Exception: Durable::Llm::Error

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

Overview

Base error class for all Durable LLM exceptions.

All custom errors in the Durable LLM gem inherit from this class, allowing users to rescue all LLM-related errors with a single catch block.

Examples:

Rescuing all Durable LLM errors

begin
  # LLM operation
rescue Durable::Llm::Error => e
  puts "LLM operation failed: #{e.message}"
end