Sha256: cd00092eead8d1fd5c8ea053d555332a0b5a85ad27db04d7399d2cf45e2d3c51

Contents?: true

Size: 356 Bytes

Versions: 8

Compression:

Stored size: 356 Bytes

Contents

module Pingpp
  class ChannelError < PingppError
    attr_accessor :param
    attr_accessor :code

    def initialize(message, code, param=nil, http_status=nil, http_body=nil,
                   json_body=nil, http_headers=nil)
      super(message, http_status, http_body, json_body, http_headers)
      @code = code
      @param = param
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pingpp-2.2.4 lib/pingpp/errors/channel_error.rb
pingpp-2.2.3 lib/pingpp/errors/channel_error.rb
pingpp-2.2.2 lib/pingpp/errors/channel_error.rb
pingpp-2.2.1 lib/pingpp/errors/channel_error.rb
pingpp-2.2.0 lib/pingpp/errors/channel_error.rb
pingpp-2.1.3 lib/pingpp/errors/channel_error.rb
pingpp-2.1.1 lib/pingpp/errors/channel_error.rb
pingpp-2.1.0 lib/pingpp/errors/channel_error.rb