Exception: Neo4j::Driver::Exceptions::NoSuchRecordException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Neo4j::Driver::Exceptions::NoSuchRecordException
- Defined in:
- lib/neo4j/driver/exceptions/no_such_record_exception.rb
Constant Summary collapse
- EMPTY =
'Cannot retrieve a single record, because this result is empty.'
- TOO_MANY =
'Expected a result with a single record, but this result ' \ 'contains at least one more. Ensure your query returns only one record.'
- NO_MORE =
'No more records'
- NO_PEEK_PAST =
'Cannot peek past the last record'
Class Method Summary collapse
Class Method Details
.empty ⇒ Object
14 15 16 |
# File 'lib/neo4j/driver/exceptions/no_such_record_exception.rb', line 14 def empty new(EMPTY) end |
.no_more ⇒ Object
22 23 24 |
# File 'lib/neo4j/driver/exceptions/no_such_record_exception.rb', line 22 def no_more new(NO_MORE) end |
.no_peek_past ⇒ Object
26 27 28 |
# File 'lib/neo4j/driver/exceptions/no_such_record_exception.rb', line 26 def no_peek_past new(NO_PEEK_PAST) end |
.too_many ⇒ Object
18 19 20 |
# File 'lib/neo4j/driver/exceptions/no_such_record_exception.rb', line 18 def too_many new(TOO_MANY) end |