setLastError
Update lastError variable based on error file, to check if app crashed. Can be called multiple times without changing the lastError variable changing.
Update lastError variable based on error file, to check if app crashed. Can be called multiple times without changing the lastError variable changing.