Exception: PoliPage::InternalError
- Defined in:
- lib/poli_page/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, status: nil) ⇒ InternalError
constructor
A new instance of InternalError.
Methods inherited from Error
#auth_error?, #network_error?, #payload_status, #rate_limit_error?, #retryable?, #to_payload, #validation_error?
Constructor Details
#initialize(message, status: nil) ⇒ InternalError
Returns a new instance of InternalError.
126 127 128 |
# File 'lib/poli_page/errors.rb', line 126 def initialize(, status: nil) super(, code: "INTERNAL_ERROR", status: status, request_id: nil) end |