lib/submodules/ably-ruby/lib/ably/models/error_info.rb in ably-rest-0.9.3 vs lib/submodules/ably-ruby/lib/ably/models/error_info.rb in ably-rest-1.0.0
- old
+ new
@@ -9,10 +9,10 @@
# @!attribute [r] status
# @return [Integer] HTTP Status Code corresponding to this error, where applicable
# @!attribute [r] attributes
# @return [Hash] Access the protocol message Hash object ruby'fied to use symbolized keys
#
- class ErrorInfo
+ class ErrorInfo < Ably::Exceptions::BaseAblyException
include Ably::Modules::ModelCommon
def initialize(hash_object)
@raw_hash_object = hash_object
@hash_object = IdiomaticRubyWrapper(hash_object.clone.freeze)