E4002 Names Errors

Names

this function does not exist; check the spelling or make sure it is defined

When this occurs

Calling undeclared function

Example error message

error[E4002]: undefined function: 'foo'

How to fix

Define the function before calling it, import the module containing it, or check for typos.

Related errors