Complete error message namespace cleanup

Include `core` in the namespace for error messages.