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.



577
578
579
580
# File 'lib/kaltura_client_base.rb', line 577

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

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



575
576
577
# File 'lib/kaltura_client_base.rb', line 575

def code
  @code
end

#messageObject (readonly)

Returns the value of attribute message.



576
577
578
# File 'lib/kaltura_client_base.rb', line 576

def message
  @message
end