lib/creditsafe/errors.rb in creditsafe-0.6.3 vs lib/creditsafe/errors.rb in creditsafe-0.7.0

- old
+ new

@@ -2,16 +2,22 @@ module Creditsafe class Error < StandardError; end class HttpError < Error; end + class ApiError < Error; end class TimeoutError < HttpError; end + class BadGatewayError < HttpError; end class DataError < ApiError; end + class AccountError < ApiError; end + class RequestError < ApiError; end + class ProcessingError < ApiError; end + class UnknownApiError < ApiError; end end