Exception: HtmlToMarkdown::CLIProxy::CLIExecutionError

Inherits:
Error
  • Object
show all
Defined in:
lib/html_to_markdown/cli_proxy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, stderr:, status:) ⇒ CLIExecutionError

Returns a new instance of CLIExecutionError.



17
18
19
20
21
# File 'lib/html_to_markdown/cli_proxy.rb', line 17

def initialize(message, stderr:, status:)
  super(message)
  @stderr = stderr
  @status = status
end

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



15
16
17
# File 'lib/html_to_markdown/cli_proxy.rb', line 15

def status
  @status
end

#stderrObject (readonly)

Returns the value of attribute stderr.



15
16
17
# File 'lib/html_to_markdown/cli_proxy.rb', line 15

def stderr
  @stderr
end