Sha256: 6df5ad9ed145655c8230d001f6f74f1da16f3fb9adeda615474eb5f25e75a297

Contents?: true

Size: 252 Bytes

Versions: 4

Compression:

Stored size: 252 Bytes

Contents

# frozen_string_literal: true

module Anony
  class SelectorNotFoundException < StandardError
    def initialize(selector, model_name)
      super("Selector for #{selector} not found. Make sure you have one defined in #{model_name}")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
anony-1.6.0 lib/anony/selector_not_found_exception.rb
anony-1.5.0 lib/anony/selector_not_found_exception.rb
anony-1.4.0 lib/anony/selector_not_found_exception.rb
anony-1.2.0 lib/anony/selector_not_found_exception.rb