Exception: Statsig::NetworkError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/network.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil, http_code = nil) ⇒ NetworkError

Returns a new instance of NetworkError.



14
15
16
17
# File 'lib/network.rb', line 14

def initialize(msg = nil, http_code = nil)
  super(msg)
  @http_code = http_code
end

Instance Attribute Details

#http_codeObject (readonly)

Returns the value of attribute http_code.



12
13
14
# File 'lib/network.rb', line 12

def http_code
  @http_code
end