Sha256: bd393b3954126ee930f92cbbec79668c3d839ef526818844262bf974997598aa

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

module Zermelo
  module Records
    module Errors

      class RecordNotFound < RuntimeError
        attr_reader :klass, :id

        def initialize(k, i)
          @klass = k
          @id = i
        end
      end

      class RecordsNotFound < RuntimeError
        attr_reader :klass, :ids

        def initialize(k, i)
          @klass = k
          @ids = i
        end
      end
   end
 end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zermelo-1.0.0 lib/zermelo/records/errors.rb