These three sections are also the same other than the `errorCode`. Maybe add a `showError('VERIFICATION_TIMEOUT')` function?