Exception: Firecrawl::AuthenticationError

Inherits:
FirecrawlError show all
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

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(message = nil, error_code: nil, details: nil)
  super(message, status_code: 401, error_code: error_code, details: details)
end