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.



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

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.



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

def http_code
  @http_code
end