Get a prompt warning displayed on the prompt.
This is a warning like "The password is incorrect." usually displayed to the user about a previous 'unsuccessful' prompt.
If this string is null then no warning is displayed.
this |
the prompt |
a newly allocated string containing the prompt warning, or null if no warning |