formatted errors messages