Exception: Kaltura::APIError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Kaltura::APIError
- Defined in:
- lib/kaltura/kaltura_client_base.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ APIError
constructor
A new instance of APIError.
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,) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
292 293 294 |
# File 'lib/kaltura/kaltura_client_base.rb', line 292 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
293 294 295 |
# File 'lib/kaltura/kaltura_client_base.rb', line 293 def @message end |