Exception: IronCache::Error
- Inherits:
-
StandardError
- Object
- StandardError
- IronCache::Error
- Defined in:
- lib/iron_cache/client.rb
Instance Method Summary collapse
-
#initialize(msg, options = {}) ⇒ Error
constructor
A new instance of Error.
- #status ⇒ Object
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, ={}) super(msg) @options = end |
Instance Method Details
#status ⇒ Object
61 62 63 |
# File 'lib/iron_cache/client.rb', line 61 def status @options[:status] end |