Sha256: b3dead6fb4121c8f02fe95217ef757294337f85cd6f1214faef9f1b2d879c630
Contents?: true
Size: 509 Bytes
Versions: 13
Compression:
Stored size: 509 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 ConfigurationError < StandardError; end class MissingInterpolation < StandardError; end class ContactExistsError < RequestError; end class InvalidParams < StandardError; end class ApiError < StandardError; end end
Version data entries
13 entries across 13 versions & 2 rubygems