Method: OneviewSDK::OneViewError#initialize
- Defined in:
- lib/oneview-sdk/exceptions.rb
#initialize(msg = self.class::MESSAGE, data = nil) ⇒ OneViewError
Returns a new instance of OneViewError.
19 20 21 22 |
# File 'lib/oneview-sdk/exceptions.rb', line 19 def initialize(msg = self.class::MESSAGE, data = nil) @data = data super(msg) end |