Exception: Neography::NeographyError
- Inherits:
-
StandardError
- Object
- StandardError
- Neography::NeographyError
- Defined in:
- lib/neography/errors.rb
Direct Known Subclasses
BadInputException, NoSuchPropertyException, NodeNotFoundException, NotFoundException, OperationFailureException, PropertyValueException, RelationshipNotFoundException, SyntaxException, UnauthorizedError, UniquePathNotUniqueException
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#stacktrace ⇒ Object
readonly
Returns the value of attribute stacktrace.
Instance Method Summary collapse
-
#initialize(message = nil, code = nil, stacktrace = nil) ⇒ NeographyError
constructor
A new instance of NeographyError.
Constructor Details
#initialize(message = nil, code = nil, stacktrace = nil) ⇒ NeographyError
Returns a new instance of NeographyError.
6 7 8 9 10 |
# File 'lib/neography/errors.rb', line 6 def initialize( = nil, code = nil, stacktrace = nil) @message = @code = code @stacktrace = stacktrace end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
4 5 6 |
# File 'lib/neography/errors.rb', line 4 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/neography/errors.rb', line 4 def @message end |
#stacktrace ⇒ Object (readonly)
Returns the value of attribute stacktrace.
4 5 6 |
# File 'lib/neography/errors.rb', line 4 def stacktrace @stacktrace end |