Anyone have some good literature/blog post recomme...
# getting-started
b
Anyone have some good literature/blog post recommendations for good ways to handle errors in Kotlin and avoid throwing and catching exceptions needlessly?
a

https://www.youtube.com/watch?v=jT2gHPQ4Z1Q

One part of the video he explains about exceptions, not sure if this will aid your question
k
Equivalent to Java's try-with-resources, to guarantee closing a resource even if an exception is thrown: use To return the result as either a value on success or an exception on failure: Result class
e
Also

https://www.youtube.com/watch?v=pvYAQNT4o0I