Exception: Html2img::TimeoutError

Inherits:
Error
  • Object
show all
Defined in:
lib/html2img/errors.rb

Overview

Raised on a 408 or 504, or when the local timeout elapses.

The API code is timeout_error or api_timeout_error. For captures that routinely take this long, pass a webhook_url to switch to asynchronous delivery.

Instance Attribute Summary

Attributes inherited from Error

#error_code, #payload, #status_code

Method Summary

Methods inherited from Error

#initialize, #to_s

Constructor Details

This class inherits a constructor from Html2img::Error