error message with embedded code