class LinodeAPI::RetryableHTTPError

A retryable API error with embedded code and requested delay

Attributes

delay[R]

Public Class Methods

new(code, delay, msg = 'Retryable HTTP Error encountered') click to toggle source
Calls superclass method LinodeAPI::HTTPError::new
# File lib/linodeapi/errors.rb, line 30
def initialize(code, delay, msg = 'Retryable HTTP Error encountered')
  @delay = delay.to_i
  super(code, msg)
end