Use default message for errors only if needed

If there is a mesage in the prompt schema then print it when the input is not valid.
Print a default message when the input is invalid if and only if there is not a message in the prompt schema.