method

handle_no_command_error

ruby latest stable - Class: Bundler::Thor::Base::ClassMethods

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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