Slide 10
Slide 10 text
蘇る悪夢
try {
response = apiRequest.execute()
dao.save(response.toEntity())
} catch (e: IOException) {
errorCode += “01”
throw NetworkException(errorCode)
} catch (e: SQLException) {
errorCode += “03”
throw GeneralException(errorCode)
} catch (e: Throwable) {
errorCode += “04”
throw SystemException(errorCode)
}