Adds boostrap formating to error messages.