Exception: Appear::Editor::NvimError

Inherits:
Appear::Error show all
Defined in:
lib/appear/editor/nvim.rb

Overview

Raised if we have problems interacting with Nvim.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_errObject (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