Sha256: 2eb85ae64229c7d17f9aa6b4ed6d2e04cfb6a3535f6159432730377cd6dd6bfe
Contents?: true
Size: 552 Bytes
Versions: 12
Compression:
Stored size: 552 Bytes
Contents
module Hubspot class RequestError < StandardError attr_accessor :response def initialize(response, message=nil) message += "\n" if message me = super("#{message}Response body: #{response.body}",) me.response = response return me end end class NotFoundError < RequestError; end class ConfigurationError < StandardError; end class MissingInterpolation < StandardError; end class ContactExistsError < RequestError; end class InvalidParams < StandardError; end class ApiError < StandardError; end end
Version data entries
12 entries across 12 versions & 1 rubygems