Sha256: cc8fe158a986ddd1c116ddeda282adbf38d143b6648e0e270c234a1044199540

Contents?: true

Size: 669 Bytes

Versions: 35

Compression:

Stored size: 669 Bytes

Contents

module Neo4j
  # Neo4j.rb Errors
  # Generic Neo4j.rb exception class.
  class Error < StandardError
  end

  # Raised when Neo4j.rb cannot find record by given id.
  class RecordNotFound < Error
    attr_reader :model, :primary_key, :id

    def initialize(message = nil, model = nil, primary_key = nil, id = nil)
      @primary_key = primary_key
      @model = model
      @id = id

      super(message)
    end
  end

  class InvalidPropertyOptionsError < Error; end

  class InvalidParameterError < Error; end

  class UnknownTypeConverterError < Error; end

  class DangerousAttributeError < ScriptError; end
  class UnknownAttributeError < NoMethodError; end
end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
neo4j-7.0.7 lib/neo4j/errors.rb
neo4j-7.0.6 lib/neo4j/errors.rb
neo4j-7.0.5 lib/neo4j/errors.rb
neo4j-7.0.4 lib/neo4j/errors.rb
neo4j-7.0.3 lib/neo4j/errors.rb
neo4j-7.0.2 lib/neo4j/errors.rb
neo4j-7.0.1 lib/neo4j/errors.rb
neo4j-7.0.0 lib/neo4j/errors.rb
neo4j-7.0.0.rc.7 lib/neo4j/errors.rb
neo4j-7.0.0.rc.6 lib/neo4j/errors.rb
neo4j-7.0.0.rc.5 lib/neo4j/errors.rb
neo4j-7.0.0.rc.4 lib/neo4j/errors.rb
neo4j-7.0.0.rc.3 lib/neo4j/errors.rb
neo4j-7.0.0.rc.2 lib/neo4j/errors.rb
neo4j-7.0.0.rc.1 lib/neo4j/errors.rb