Exception: Gateway::GatewayTimeout

Inherits:
Error
  • Object
show all
Defined in:
lib/gateway/errors.rb

Overview

When backend stops responding within given time.

Instance Attribute Summary

Attributes inherited from Error

#inner_error, #status

Instance Method Summary collapse

Methods inherited from Error

wrap

Constructor Details

#initialize(msg) ⇒ GatewayTimeout

Returns a new instance of GatewayTimeout.



13
14
15
16
# File 'lib/gateway/errors.rb', line 13

def initialize(msg)
  super
  self.status = "504"
end