Exception: Langfuse::BatchDeliveryError Private
- Defined in:
- lib/langfuse.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Describes whether a failed ingestion batch is safe to retry.
Instance Method Summary collapse
-
#initialize(message, retryable:) ⇒ BatchDeliveryError
constructor
private
A new instance of BatchDeliveryError.
-
#retryable? ⇒ Boolean
private
Whether the complete batch can be retried.
Constructor Details
#initialize(message, retryable:) ⇒ BatchDeliveryError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of BatchDeliveryError.
38 39 40 41 |
# File 'lib/langfuse.rb', line 38 def initialize(, retryable:) @retryable = retryable super() end |
Instance Method Details
#retryable? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns whether the complete batch can be retried.
44 45 46 |
# File 'lib/langfuse.rb', line 44 def retryable? @retryable end |