sumanmukherjee03/cache_and_fetch

View on GitHub
lib/cache_and_fetch/errors.rb

Summary

Maintainability
A
0 mins
Test Coverage
module CacheAndFetch
  class CacheAndFetchError < StandardError
  end

  class FinderNotFound < CacheAndFetchError
    def initialize
      super("There is no <model>.find method defined. Please implement a <model>.find method or a finder module in app/models/<model>/finder.rb")
    end
  end
end