def get_vdp_failure_reason(self, reply):
try:<EOL><INDENT>fail_reason = reply.partition(<EOL>"<STR_LIT>")[<NUM_LIT:0>].replace('<STR_LIT:\t>', '<STR_LIT>').split('<STR_LIT:\n>')[-<NUM_LIT:2>]<EOL>if len(fail_reason) == <NUM_LIT:0>:<EOL><INDENT>fail_reason = vdp_const.retrieve_failure_reason % (reply)<EOL><DEDENT><DEDENT>except Exception:<EOL><INDENT>fail_reason = vdp_const.retrieve_failure_reason % (reply)<EOL><DEDENT>return fail_reason<EOL>
Parse the failure reason from VDP.