Exception: OllamaChat::HTTPError
- Inherits:
-
OllamaChatError
- Object
- StandardError
- OllamaChatError
- OllamaChat::HTTPError
- Defined in:
- lib/ollama_chat.rb
Overview
Error raised when an HTTP request returns a non‑200 status code.
Instance Attribute Summary collapse
-
#status ⇒ Integer
The HTTP status code that caused the error.
Instance Attribute Details
#status ⇒ Integer
Returns the HTTP status code that caused the error.
40 41 42 |
# File 'lib/ollama_chat.rb', line 40 def status @status end |