Class: LlmCostTracker::Storage::Dispatcher
- Inherits:
-
Object
- Object
- LlmCostTracker::Storage::Dispatcher
- Defined in:
- lib/llm_cost_tracker/storage/dispatcher.rb
Class Method Summary collapse
Class Method Details
.save(event) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/llm_cost_tracker/storage/dispatcher.rb', line 13 def save(event) backend.save(event) rescue LlmCostTracker::BudgetExceededError, LlmCostTracker::UnknownPricingError raise rescue StandardError => e handle_error(e) false end |