Store error messages in an object literal.