class Procore::Error

Generic / catch all error class. All other errors generated by the gem inherit from this class.

Attributes

message[R]

Human readable error message.

response[R]

A Response object which contains details about the request.

Public Class Methods

new(message, response: nil) click to toggle source
Calls superclass method
# File lib/procore/errors.rb, line 11
def initialize(message, response: nil)
  @message = message
  @response = response

  super(message)
end