If the condition defined before the DIE statement is NOT met, the script will stop execution at that point, printing out the default error, if a custom error message is not defined.
If you have the better answer, then send it to us. We will display your answer after the approval.