Exception: NxtSchema::Errors::Invalid
- Inherits:
-
NxtSchema::Error
- Object
- StandardError
- NxtSchema::Error
- NxtSchema::Errors::Invalid
- Defined in:
- lib/nxt_schema/errors/invalid.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
- #build_message ⇒ Object
-
#initialize(node) ⇒ Invalid
constructor
A new instance of Invalid.
Constructor Details
#initialize(node) ⇒ Invalid
Returns a new instance of Invalid.
4 5 6 7 |
# File 'lib/nxt_schema/errors/invalid.rb', line 4 def initialize(node) @node = node super() end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
9 10 11 |
# File 'lib/nxt_schema/errors/invalid.rb', line 9 def node @node end |
Instance Method Details
#build_message ⇒ Object
11 12 13 |
# File 'lib/nxt_schema/errors/invalid.rb', line 11 def node.errors end |