Exception: IronCache::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/iron_cache/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg, options = {}) ⇒ Error

Returns a new instance of Error.


56
57
58
59
# File 'lib/iron_cache/client.rb', line 56

def initialize(msg, options={})
  super(msg)
  @options = options
end

Instance Method Details

#statusObject


61
62
63
# File 'lib/iron_cache/client.rb', line 61

def status
  @options[:status]
end