Sha256: 68344c63509266e11c0b186c462ce301d20c0aeb1ffa88000eba52491b2404da

Contents?: true

Size: 1.14 KB

Versions: 95

Compression:

Stored size: 1.14 KB

Contents

# frozen_string_literal: true

# @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv>

module RubyRabbitmqJanus
  module Errors
    module Janus
      # Define a super class for all error in Janus::Responses::ResponseAdmin
      class BaseResponseAdmin < RubyRabbitmqJanus::Errors::Janus::BaseResponse
        def initialize(message)
          super "[Admin] #{message}"
        end
      end

      module ResponseAdmin
        # Error for Janus::Responses::ResponseAdmin#sessions
        class Sessions < RubyRabbitmqJanus::Errors::Janus::BaseResponseAdmin
          def initializer
            super 'Error sessions information reading'
          end
        end

        # Error for Janus::Responses::ResponseAdmin#handles
        class Handles < RubyRabbitmqJanus::Errors::Janus::BaseResponseAdmin
          def initializer
            super 'Error handles information reading'
          end
        end

        # Error for Janus::Responses::ResponseAdmin#info
        class Info < RubyRabbitmqJanus::Errors::Janus::BaseResponseAdmin
          def initializer
            super 'Error info information reading'
          end
        end
      end
    end
  end
end

Version data entries

95 entries across 95 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-3.0.0.pre.336 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-3.0.0.pre.335 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-3.0.0.pre.334 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-3.0.0.pre.330 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-3.0.0.pre.328 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-3.0.0.pre.327 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.322 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.320 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.319 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.318 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.317 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.316 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.315 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.314 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.312 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.310 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.309 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.308 lib/rrj/errors/janus/responses/admin.rb
ruby_rabbitmq_janus-2.7.2.pre.307 lib/rrj/errors/janus/responses/admin.rb