Exception: OpenNebula::User::ShowbackError

Inherits:
StandardError
  • Object
show all
Defined in:
service/objects/user.rb

Overview

Error while processing(calculating) showback Exception

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = []) ⇒ ShowbackError

Returns a new instance of ShowbackError.



153
154
155
156
# File 'service/objects/user.rb', line 153

def initialize params = []
  @params = params[1...params.length]
  super "#{params[0]}\nParams:#{@params.inspect}"
end

Instance Attribute Details

#paramsObject (readonly)

Returns the value of attribute params.



151
152
153
# File 'service/objects/user.rb', line 151

def params
  @params
end