lib/cache_and_fetch/errors.rb
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