module REST::Error::Timeout

This constant can be used to rescue only the known ‘Timeout` error classes.

Public Class Methods

class_names() click to toggle source
# File lib/rest/error.rb, line 25
def self.class_names
  %w(
    Errno::ETIMEDOUT
    Timeout::Error
    Net::OpenTimeout
    Net::ReadTimeout
  )
end