Sha256: 58928c04c9398b324de06be08c9c902503c02508be55c619866dc8901c816a52

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 Bytes

Contents

module ActiveRecord
  class Sequence
    Error = Class.new(StandardError)
    # Sequence is already exists and thus could not be created.
    AlreadyExist = Class.new(Error)
    # To obtain current value, you have to call `#next` first.
    CurrentValueUndefined = Class.new(Error)
    # Sequence is not exists and thus could not be deleted or accessed.
    NotExist = Class.new(Error)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_record-sequence-0.3.0 lib/active_record/sequence/error.rb
active_record-sequence-0.2.0 lib/active_record/sequence/error.rb
active_record-sequence-0.1.0 lib/active_record/sequence/error.rb