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.2.3 lib/neo4j/errors.rb
neo4j-7.2.2 lib/neo4j/errors.rb
neo4j-7.1.4 lib/neo4j/errors.rb
neo4j-7.0.16 lib/neo4j/errors.rb
neo4j-7.2.1 lib/neo4j/errors.rb
neo4j_legacy-7.2.0.2 lib/neo4j/errors.rb
neo4j_legacy-7.2.0.1 lib/neo4j/errors.rb
neo4j-7.2.0 lib/neo4j/errors.rb
neo4j-7.1.3 lib/neo4j/errors.rb
neo4j-7.0.15 lib/neo4j/errors.rb
neo4j-7.1.2 lib/neo4j/errors.rb
neo4j-7.1.1 lib/neo4j/errors.rb
neo4j-7.1.0 lib/neo4j/errors.rb
neo4j-7.0.14 lib/neo4j/errors.rb
neo4j-7.0.13 lib/neo4j/errors.rb
neo4j-7.0.12 lib/neo4j/errors.rb
neo4j-7.0.11 lib/neo4j/errors.rb
neo4j-7.0.10 lib/neo4j/errors.rb
neo4j-7.0.9 lib/neo4j/errors.rb
neo4j-7.0.8 lib/neo4j/errors.rb