Exception: Ollama::Errors::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ollama/errors.rb

Overview

The base error class for Ollama-related exceptions.

This class serves as the parent class for all custom exceptions raised by the Ollama library. It provides a common foundation for error handling within the gem, allowing developers to rescue specific Ollama errors or the general error type when interacting with the Ollama API.

Direct Known Subclasses

NotFoundError, SocketError, TimeoutError