Sha256: d3b3c2082b65eae8e03293650c017fee9879f5fd072060df0239998815a95329

Contents?: true

Size: 344 Bytes

Versions: 12

Compression:

Stored size: 344 Bytes

Contents

module ActiveRecord
  module ShardFor
    class Error < ::StandardError
    end

    # Raised when try to put new record without distkey attribute.
    class MissingDistkeyAttribute < Error
    end

    # Inherit from AR::RecordNotFound to enable to handle as AR's one.
    class RecordNotFound < ActiveRecord::RecordNotFound
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
activerecord-shard_for-0.7.0 lib/activerecord/shard_for/errors.rb
activerecord-shard_for-0.6.1 lib/activerecord/shard_for/errors.rb
activerecord-shard_for-0.6.0 lib/activerecord/shard_for/errors.rb
activerecord-shard_for-0.5.0 lib/activerecord/shard_for/errors.rb
activerecord-shard_for-0.4.1 lib/activerecord/shard_for/errors.rb
activerecord-shard_for-0.4.0 lib/activerecord/shard_for/errors.rb
activerecord-shard_for-0.3.0 lib/activerecord/shard_for/errors.rb
activerecord-shard_for-0.2.1 lib/activerecord/shard_for/errors.rb
activerecord-shard_for-0.2.0 lib/activerecord/shard_for/errors.rb
activerecord-shard_for-0.1.2 lib/activerecord/shard_for/errors.rb
activerecord-shard_for-0.1.1 lib/activerecord/shard_for/errors.rb
activerecord-shard_for-0.1.0 lib/activerecord/shard_for/errors.rb