Exception: Langfuse::BatchDeliveryError Private

Inherits:
ApiError
  • Object
show all
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

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.

Parameters:

  • message (String)

    Delivery failure description

  • retryable (Boolean)

    Whether the complete batch can be retried



38
39
40
41
# File 'lib/langfuse.rb', line 38

def initialize(message, retryable:)
  @retryable = retryable
  super(message)
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.

Returns:

  • (Boolean)

    whether the complete batch can be retried



44
45
46
# File 'lib/langfuse.rb', line 44

def retryable?
  @retryable
end