method
handle_no_command_error
v2_6_3 -
Show latest stable
- Class:
Bundler::Thor::Base::ClassMethods
handle_no_command_error(command, has_namespace = $thor_runner)public
No documentation available.
# File lib/bundler/vendor/thor/lib/thor/base.rb, line 495
def handle_no_command_error(command, has_namespace = $thor_runner) #:nodoc:
raise UndefinedCommandError, "Could not find command #{command.inspect} in #{namespace.inspect} namespace." if has_namespace
raise UndefinedCommandError, "Could not find command #{command.inspect}."
end