Exception: AgileCRMWrapper::InternalServerError

Inherits:
ServerError show all
Defined in:
lib/agilecrm-wrapper/error.rb

Overview

Raised when AgileCRMWrapper returns a 500 HTTP status code

Instance Attribute Summary

Attributes inherited from Error

#response

Instance Method Summary collapse

Methods inherited from Error

errors, from_response

Constructor Details

#initialize(response, message = 'Server error') ⇒ InternalServerError

Returns a new instance of InternalServerError.



71
72
73
# File 'lib/agilecrm-wrapper/error.rb', line 71

def initialize(response, message = 'Server error')
  super(response, message)
end