module REST::Error::Protocol

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

Public Class Methods

class_names() click to toggle source
# File lib/rest/error.rb, line 55
def self.class_names
  %w(
    Net::HTTPBadResponse
    Net::HTTPHeaderSyntaxError
    Net::ProtocolError
    Zlib::GzipFile::Error
  )
end