Methods
E
N
Attributes
[R] command_in_context

The command for which the argument was unknown

Class Public methods
new(message,command_in_context,exit_code=nil)
message

the error message to show the user

command

the command we were using to parse command-specific options

# File lib/gli/exceptions.rb, line 51
def initialize(message,command_in_context,exit_code=nil)
  super(message)
  @command_in_context = command_in_context
  @exit_code = exit_code
end
Instance Public methods
exit_code()
# File lib/gli/exceptions.rb, line 57
def exit_code
  @exit_code || super
end