Sha256: fa84138c77699b89792b80d26fff9ebec87f7faf2d50cf2fe4792809c85b459c
Contents?: true
Size: 851 Bytes
Versions: 9
Compression:
Stored size: 851 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc module Errors #:nodoc class ClassAlreadyDefined < RuntimeError def initialize(klass) @klass = klass end def message "#{@klass} already defined, can't aggregate!" end end class AggregationAlreadyDefined < RuntimeError def initialize(klass, token) @klass = klass @token = token end def message "Aggregation '#{@token}' already defined for model #{@klass}" end end class AggregationNameDeprecated < RuntimeError def initialize(token) @token = token end def message "Ussing aggregation name '#{@klass}' is deprecated. Please select another name." end end class ModelNotSaved < RuntimeError; end class NotMongoid < RuntimeError; end end end
Version data entries
9 entries across 9 versions & 1 rubygems