class Gateway::BadResponse
When a response is returned, but is considered unsuccessful. This is application specific. For HTTP responses: 4xx, 5xx can be considered bad response
Attributes
info[RW]
Public Class Methods
new(msg, info=nil)
click to toggle source
Calls superclass method
Gateway::BadGateway::new
# File lib/gateway/errors.rb, line 33 def initialize(msg, info=nil) msg = "#{msg}\nInfo:\n#{info.inspect}" if info super msg self.info = info end