Added error message formatting when using exceptions