Exception: Kaltura::APIError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/kaltura/kaltura_client_base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, message) ⇒ APIError

Returns a new instance of APIError.



295
296
297
298
# File 'lib/kaltura/kaltura_client_base.rb', line 295

def initialize(code,message)
 @code = code
 @message = message
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



292
293
294
# File 'lib/kaltura/kaltura_client_base.rb', line 292

def code
  @code
end

#messageObject (readonly)

Returns the value of attribute message.



293
294
295
# File 'lib/kaltura/kaltura_client_base.rb', line 293

def message
  @message
end