Should I wrap every function inside a try-catch bl...
# android
a
Should I wrap every function inside a try-catch block?
nono 3
a
Bad idea. You should only try-catch if you are trying to handle errors.
j
You could use
try/catch
or
runCatching
at the final call. As an example in ViewModels