Exception: Optimizely::HTTPCallError

Inherits:
Error
  • Object
show all
Defined in:
lib/optimizely/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'HTTP call resulted in a response with an error code.') ⇒ HTTPCallError

Raised when a 4xx or 5xx response code is recieved.



23
24
25
# File 'lib/optimizely/exceptions.rb', line 23

def initialize(msg = 'HTTP call resulted in a response with an error code.')
  super
end