CDISP0469E

Because the function name function from the namespace name namespace is not public, the function is not visible from the namespace name namespace.

To be visible from another namespace, a function requires the public modifier in the function declaration.
Add the public modifier to the function declaration.