The following arguments were given to ToyRobot.send_robot_status/2: # 1 nil # 2 :cli_robot_state

We are trying to code for path planning but we are getting this error and not able to debug using IO commands. Please help us with this
** (FunctionClauseError) no function clause matching in ToyRobot.send_robot_status/2

The following arguments were given to ToyRobot.send_robot_status/2:

    # 1
   nil

    # 2
    :cli_robot_state

(toy_robot 0.1.0) lib/toy_robot.ex:92: ToyRobot.send_robot_status/2
(toy_robot 0.1.0) lib/toy_robot.ex:81: ToyRobot.stop/4
(toy_robot 0.1.0) lib/cli.ex:115: ToyRobot.CLI.execute_command/2
(elixir 1.12.2) lib/kernel/cli.ex:124: anonymous fn/3 in Kernel.CLI.exec_fun/2

Do you have the source code for ToyRobot?
You are passing nil and :cli_robot_state, but send_robot_status/2 is not matching those values., so you either need to modify that function, or the values you are passing.