lib/creditsafe/errors.rb in creditsafe-0.6.0 vs lib/creditsafe/errors.rb in creditsafe-0.6.1

- old
+ new

@@ -1,16 +1,16 @@ -# frozen_string_literal: true - -module Creditsafe - class Error < StandardError; end - - class HttpError < Error; end - class ApiError < Error; end - - class TimeoutError < HttpError; end - - class DataError < ApiError; end - class AccountError < ApiError; end - class RequestError < ApiError; end - class ProcessingError < ApiError; end - class UnknownApiError < ApiError; end -end +# frozen_string_literal: true + +module Creditsafe + class Error < StandardError; end + + class HttpError < Error; end + class ApiError < Error; end + + class TimeoutError < HttpError; end + + class DataError < ApiError; end + class AccountError < ApiError; end + class RequestError < ApiError; end + class ProcessingError < ApiError; end + class UnknownApiError < ApiError; end +end