Updating messages to use errors module

no issue

- only updated the messages that are errors or warnings
- changed the structure of the messages to follow the 3-arg format