Exception: Aliyun::Common::Exception

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/aliyun/common/exception.rb

Overview

Base exception class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Exception

Returns a new instance of Exception.



12
13
14
# File 'lib/aliyun/common/exception.rb', line 12

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



10
11
12
# File 'lib/aliyun/common/exception.rb', line 10

def message
  @message
end