This can be done by saving the correlation value in a string then getting the string value in a Web_Global_verification() function this will look like the below.
lr_save_string(lr_eval_string("Exception Thrown on Username : {Username} / Password: {Password},"ExceptionData");
web_global_verification("Text/IC=<Exception>",
"Fail=Found",
"Search=ALL",
"ID={ExceptionData}",
LAST);