Exception: ReductoAI::NetworkError

Inherits:
Error
  • Object
show all
Defined in:
lib/reducto_ai/errors.rb

Overview

Raised on network connection or timeout failures.

Indicates network issues, DNS failures, or timeout exceeded.

Examples:

# Raised when request times out
client = ReductoAI::Client.new(read_timeout: 1)
client.parse.sync(input: "https://example.com/large-doc.pdf")
# => ReductoAI::NetworkError: Network error: execution expired

Instance Attribute Summary

Attributes inherited from Error

#body, #status

Method Summary

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from ReductoAI::Error