E4002 Reference Errors
undefined-function
function not 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.