Added a way to render external error messages