class RubyLLM::AgUI::InputError

Raised when an inbound request cannot be accepted. The message is always safe to send to a client: it never contains raw request bytes.

Public Instance Methods

http_status() click to toggle source

The HTTP status the host should use for this rejection, when it can.

# File lib/ruby_llm/ag_ui/error.rb, line 13
def http_status
  400
end