Exception: Rx::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Rx::ValidationError
- Defined in:
- lib/rx/ruby/Rx.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(message, path) ⇒ ValidationError
constructor
A new instance of ValidationError.
- #inspect ⇒ Object
- #message ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(message, path) ⇒ ValidationError
Returns a new instance of ValidationError.
123 124 125 126 |
# File 'lib/rx/ruby/Rx.rb', line 123 def initialize(, path) = @path = path end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
121 122 123 |
# File 'lib/rx/ruby/Rx.rb', line 121 def path @path end |
Instance Method Details
#inspect ⇒ Object
136 137 138 |
# File 'lib/rx/ruby/Rx.rb', line 136 def inspect "#{@message} (#{@path})" end |
#message ⇒ Object
132 133 134 |
# File 'lib/rx/ruby/Rx.rb', line 132 def "#{@message} (#{@path})" end |
#to_s ⇒ Object
140 141 142 |
# File 'lib/rx/ruby/Rx.rb', line 140 def to_s inspect end |