For scripted finds, I rarely bother with get ( LastError ). I just use: Not Get ( FoundCount ) to identify a 0 found records result for my find..
The error code will not persist. Each performed find will generate a new error code or clear it if records are indeed found. Error codes are, in fact, so ephemeral that you often need to assign them to variables immediately after the action that may have generated the error code unless you use an if step to test for that code immediately after the step that may have produced the error.