I think that to add methods to the function of the module you need to explicitly import it:
import custom_module.geterror
geterror(res::MutatedResidual) = ...
I think that to add methods to the function of the module you need to explicitly import it:
import custom_module.geterror
geterror(res::MutatedResidual) = ...