Exception: LlmCostTracker::StorageError
- Defined in:
- lib/llm_cost_tracker/errors.rb
Instance Attribute Summary collapse
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
Instance Method Summary collapse
-
#initialize(original_error) ⇒ StorageError
constructor
A new instance of StorageError.
Constructor Details
#initialize(original_error) ⇒ StorageError
Returns a new instance of StorageError.
31 32 33 34 35 |
# File 'lib/llm_cost_tracker/errors.rb', line 31 def initialize(original_error) @original_error = original_error super("Failed to store LLM cost event: #{original_error.class}: #{original_error.}") end |
Instance Attribute Details
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
29 30 31 |
# File 'lib/llm_cost_tracker/errors.rb', line 29 def original_error @original_error end |