Sha256: 528bfe70b37106228f54e1b112a3b9bc786c8af4bfb9a7ab49a6a8608da9e779

Contents?: true

Size: 286 Bytes

Versions: 5

Compression:

Stored size: 286 Bytes

Contents

module GroupedScope
  
  class GroupedScopeError < StandardError #:nodoc:
  end
  
  class NoGroupIdError < GroupedScopeError #:nodoc:
    def initialize(owner) ; @owner = owner ; end
    def message ; %|The #{@owner.class} class does not have a "group_id" attribute.| ; end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
grouped_scope-3.2.1 lib/grouped_scope/errors.rb
grouped_scope-3.2.0 lib/grouped_scope/errors.rb
grouped_scope-3.1.2 lib/grouped_scope/errors.rb
grouped_scope-3.1.1 lib/grouped_scope/errors.rb
grouped_scope-3.1.0 lib/grouped_scope/errors.rb