class JanusGateway::Error

Attributes

code[R]

@return [Integer]

info[R]

@return [String]

Public Class Methods

new(error_code, error_info) click to toggle source

@param [Integer] error_code @param [String] error_info

Calls superclass method
# File lib/janus_gateway/error.rb, line 11
def initialize(error_code, error_info)
  @code = error_code
  @info = error_info

  super("<Code: #{code}> <Info: #{info}>")
end