Exception: Firecrawl::AuthenticationError
- Inherits:
-
FirecrawlError
- Object
- StandardError
- FirecrawlError
- Firecrawl::AuthenticationError
- Defined in:
- lib/firecrawl/errors.rb
Overview
Raised on 401 Unauthorized responses.
Instance Attribute Summary
Attributes inherited from FirecrawlError
#details, #error_code, #status_code
Instance Method Summary collapse
-
#initialize(message = nil, error_code: nil, details: nil) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(message = nil, error_code: nil, details: nil) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
18 19 20 |
# File 'lib/firecrawl/errors.rb', line 18 def initialize( = nil, error_code: nil, details: nil) super(, status_code: 401, error_code: error_code, details: details) end |