Exception: Appear::Editor::NvimError
- Inherits:
-
Appear::Error
- Object
- StandardError
- Appear::Error
- Appear::Editor::NvimError
- Defined in:
- lib/appear/editor/nvim.rb
Overview
Raised if we have problems interacting with Nvim.
Instance Attribute Summary collapse
-
#from_err ⇒ Object
readonly
Returns the value of attribute from_err.
Instance Method Summary collapse
-
#initialize(msg, from_err = nil) ⇒ NvimError
constructor
A new instance of NvimError.
Constructor Details
#initialize(msg, from_err = nil) ⇒ NvimError
14 15 16 17 |
# File 'lib/appear/editor/nvim.rb', line 14 def initialize(msg, from_err = nil) super(msg) @from_err = from_err end |
Instance Attribute Details
#from_err ⇒ Object (readonly)
Returns the value of attribute from_err.
10 11 12 |
# File 'lib/appear/editor/nvim.rb', line 10 def from_err @from_err end |