Exception: Legion::LLM::RoutingTooEarly

Inherits:
RoutingUnavailable show all
Defined in:
lib/legion/llm/errors.rb

Instance Attribute Summary

Attributes inherited from RoutingUnavailable

#code, #status_code

Instance Method Summary collapse

Methods inherited from LLMError

#retryable?

Constructor Details

#initialize(message = 'Routing prerequisites are not confirmed yet') ⇒ RoutingTooEarly

Returns a new instance of RoutingTooEarly.



73
74
75
# File 'lib/legion/llm/errors.rb', line 73

def initialize(message = 'Routing prerequisites are not confirmed yet')
  super(message, status_code: 425, code: 'routing_too_early')
end