Sha256: 15f3542adbf29b17f3b0b686c5d53e2981365bfe365559eb63b9c41fc07f775a
Contents?: true
Size: 919 Bytes
Versions: 2
Compression:
Stored size: 919 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc module Tracking #: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 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trackoid_mongoid4-0.1.4 | lib/mongoid/tracking/errors.rb |
trackoid_mongoid4-0.1.3 | lib/mongoid/tracking/errors.rb |