Exception: Zoom::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/zoom/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Error.



7
8
9
10
# File 'lib/zoom/error.rb', line 7

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

Instance Attribute Details

#error_hashObject (readonly)

Returns the value of attribute error_hash.



5
6
7
# File 'lib/zoom/error.rb', line 5

def error_hash
  @error_hash
end