Method: TTY::Command::ExitError#initialize

Defined in:
lib/tty/command/exit_error.rb

#initialize(cmd_name, result) ⇒ ExitError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ExitError.



15
16
17
# File 'lib/tty/command/exit_error.rb', line 15

def initialize(cmd_name, result)
  super(info(cmd_name, result))
end