Method: HP::Cloud::Exceptions::Base#initialize

Defined in:
lib/hpcloud/exceptions/base.rb

#initialize(message, status = :general_error) ⇒ Base

Returns a new instance of Base.



28
29
30
31
# File 'lib/hpcloud/exceptions/base.rb', line 28

def initialize(message, status = :general_error)
  super(message)
  @status = status
end