allow errors and warnings to take a path
allow errors and warnings to take a path

This allows for adding the error message and letting the context add
the proper formatting.

Signed-off-by: Jordan Wilberding <220780119b0515e812290c52572d947e9668976c@gmail.com>

ericbmerritt/joxa,hhkbp2/joxa