Exception: Odin::Errors::PatchError
- Defined in:
- lib/odin/types/errors.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Attributes inherited from OdinError
Instance Method Summary collapse
-
#initialize(message, path) ⇒ PatchError
constructor
A new instance of PatchError.
Constructor Details
#initialize(message, path) ⇒ PatchError
Returns a new instance of PatchError.
151 152 153 154 |
# File 'lib/odin/types/errors.rb', line 151 def initialize(, path) @path = path super("PATCH", "#{} at '#{path}'") end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
149 150 151 |
# File 'lib/odin/types/errors.rb', line 149 def path @path end |