Method: Net::HTTPResponse#error!

Defined in:
lib/net/http/response.rb

#error!Object

:nodoc:

Raises:


121
122
123
124
125
# File 'lib/net/http/response.rb', line 121

def error!   #:nodoc:
  message = @code
  message += ' ' + @message.dump if @message
  raise error_type().new(message, self)
end