app / sg.edu.ntu.scse.cz2006.gymbuddies / CarparkAndSearchResultActivity / errorAndExit

errorAndExit

private fun errorAndExit(errorMessage: String): Unit

Internal function to display and error message and exit this activity if there is an error

Parameters

errorMessage - String The error message to display