Class: Tavily::FailedResult

Inherits:
Object
  • Object
show all
Defined in:
lib/tavily/responses.rb

Overview

A URL that failed extraction.

Instance Attribute Summary

Attributes inherited from Object

#attributes

Instance Method Summary collapse

Methods inherited from Object

#==, #[], attribute, #dig, #hash, #initialize, #inspect, #key?, #to_h

Constructor Details

This class inherits a constructor from Tavily::Object

Instance Method Details

#errorString?

Returns reason for the failure.

Returns:

  • (String, nil)

    reason for the failure.



104
# File 'lib/tavily/responses.rb', line 104

attribute :error

#urlString?

Returns the URL that failed.

Returns:

  • (String, nil)

    the URL that failed.



102
# File 'lib/tavily/responses.rb', line 102

attribute :url