This method is only available on newer versions. The first available version (v2_6_3) is shown here.
handle_no_task_error(command, has_namespace = $thor_runner)
Alias for Bundler::Thor::Base::ClassMethods#handle_no_command_error