Sha256: 63421a6edf10fa04c187725f3f75b57892d94bb0a449ef6bc856629b49d67cbc
Contents?: true
Size: 486 Bytes
Versions: 4
Compression:
Stored size: 486 Bytes
Contents
# frozen_string_literal: true module Ollama module Errors class OllamaError < StandardError def initialize(message = nil) super(message) end end class BlockWithoutServerSentEventsError < OllamaError; end class RequestError < OllamaError attr_reader :request, :payload def initialize(message = nil, request: nil, payload: nil) @request = request @payload = payload super(message) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ollama-ai-1.2.1 | components/errors.rb |
ollama-ai-1.2.0 | components/errors.rb |
ollama-ai-1.0.1 | components/errors.rb |
ollama-ai-1.0.0 | components/errors.rb |