class Ollama::Errors::NotFoundError
end
puts “Model was not found”
rescue Ollama::Errors::NotFoundError
ollama.show(model: ‘nonexistent-model’)
begin
@example Handling a not found error
indicating that the requested model or resource could not be located.
This exception is raised when the Ollama API returns a 404 status code,
found.
Ollama error class for handling cases where a requested resource is not