Is there a tool (e.g. an existing IDE menu item, a...
# random
k
Is there a tool (e.g. an existing IDE menu item, a plugin or a standalone command) that goes through a whole Kotlin project and reports all places where an exception might be thrown?
☝🏼 1
g
Not sure what you are looking for, some exceptions can in some circumstances occur on a lot of thinks, like oom.
k
I expect OutOfMemoryError would be excluded in such a tools as it's not in the Exception class hierarchy. The idea is to use it when looking to improve application robustness to find places where the developer might have not thought properly about what might happen in a function call.