Class: NxtSchema::Node::Error
- Inherits:
-
Object
- Object
- NxtSchema::Node::Error
- Defined in:
- lib/nxt_schema/node/error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(path, value, message) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(path, value, message) ⇒ Error
Returns a new instance of Error.
4 5 6 7 8 |
# File 'lib/nxt_schema/node/error.rb', line 4 def initialize(path, value, ) @path = path @value = value = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
10 11 12 |
# File 'lib/nxt_schema/node/error.rb', line 10 def end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
10 11 12 |
# File 'lib/nxt_schema/node/error.rb', line 10 def path @path end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
10 11 12 |
# File 'lib/nxt_schema/node/error.rb', line 10 def value @value end |