Exception: ARI::ServerError

Inherits:
Error show all
Defined in:
lib/ari/errors.rb

Overview

handle 5xx response

Instance Attribute Summary

Attributes inherited from Error

#error_info, #response_body

Instance Method Summary collapse

Constructor Details

#initialize(response_body, error_info) ⇒ ServerError

Returns a new instance of ServerError


29
30
31
32
# File 'lib/ari/errors.rb', line 29

def initialize(response_body, error_info)
  @response_body = response_body
  @error_info = error_info
end