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.
52 53 54 55 56 |
# File 'lib/llm_cost_tracker/errors.rb', line 52 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.
50 51 52 |
# File 'lib/llm_cost_tracker/errors.rb', line 50 def original_error @original_error end |