Exception: Kaltura::KalturaAPIError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, message) ⇒ KalturaAPIError

Returns a new instance of KalturaAPIError.



427
428
429
430
# File 'lib/kaltura_client_base.rb', line 427

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

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



425
426
427
# File 'lib/kaltura_client_base.rb', line 425

def code
  @code
end

#messageObject (readonly)

Returns the value of attribute message.



426
427
428
# File 'lib/kaltura_client_base.rb', line 426

def message
  @message
end