Class: Net::HTTPResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/mad_mimi_two/mad_mimi_message.rb

Instance Method Summary collapse

Instance Method Details

#error!Object

Raises:

  • (error_type())


29
30
31
32
# File 'lib/mad_mimi_two/mad_mimi_message.rb', line 29

def error!
  message = @code + ' ' + @message.dump + ' ' + body
  raise error_type().new(message, self)
end