module Acfs

  # Acfs base error.
  #
  class Error < StandardError; end

end

module Acfs

  # Acfs base error.
  #
  class Error < StandardError
  end

  # Response error containing the responsible response object.
  #
  class ErroneousResponse < Error
    attr_accessor :response

    def initialize(response)
      self.response = response
    end
  end

  # Resource not found error raised on a 404 response
  #
  class ResourceNotFound < ErroneousResponse
  end

end

Add error classes for not found resources and failed responses.
Add error classes for not found resources and failed responses.
