Exception: ReductoAI::ClientError

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

Overview

Raised on 4xx client errors (400, 404, 422).

Indicates invalid request parameters, missing resources, or validation failures.

Examples:

# Raised when input is invalid
client.parse.sync(input: "not-a-valid-url")
# => ReductoAI::ClientError: HTTP 400: Invalid input URL

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