Exception: PoliPage::InvalidOptionsError
- Defined in:
- lib/poli_page/errors.rb
Overview
— SDK-internal errors. ‘status` is nil except where the SDK observed a status from a non-API hop (e.g., the S3 second-hop for DownloadError). —
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, code: "invalid_options") ⇒ InvalidOptionsError
constructor
A new instance of InvalidOptionsError.
Methods inherited from Error
#auth_error?, #network_error?, #payload_status, #rate_limit_error?, #retryable?, #to_payload, #validation_error?
Constructor Details
#initialize(message, code: "invalid_options") ⇒ InvalidOptionsError
Returns a new instance of InvalidOptionsError.
87 88 89 |
# File 'lib/poli_page/errors.rb', line 87 def initialize(, code: "invalid_options") super(, code: code, status: nil, request_id: nil) end |