I need to handle multiple exceptions (in this case, IllegalStateException and a custom exception class) in a catch block. As far as I can tell, Kotlin does not currently support multi catch, so I have to catch Exception and check the types. Detekt sees this and gives me a TooGenericExceptionCaught error. This would be fine if I could use multi catch to check for both types, but that’s not part of the language yet. Should I just disable the detekt error, or is there a good workaround?