-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Нужно как-то придумать реализацию или убрать из строгих правил кейс, когда ловятся все исключения и обрабатываются, не проглатываясь
http://wiki.omega-r.club/dev-android-code#rec226454364
@SuppressLint("OMEGA_NOT_IGNORE_EXCEPTIONS")
override suspend fun addNewPlace(accountNumber: String, name: String) {
try {
val place = remoteDataSource.createPlace(accountNumber, name)
localDataSource.createPlace(place)
} catch (ex: SQLiteConstraintException) {
throw DoorphonesException.NameExists
} catch (ex: Exception) {
errorHandler.handleThrowable(ex)
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels