https://kotlinlang.org logo
#announcements
Title
# announcements
p

Paul Woitaschek

02/27/2017, 1:02 PM
Can kotlin merge multiple exceptions in one catch?
v

voddan

02/27/2017, 1:02 PM
paulwoitaschek: not yet
p

Paul Woitaschek

02/27/2017, 1:06 PM
That's annoying 😞
Copy code
try {
          ...
        } catch (e: IOException) {
          Timber.e(e, "Error while creating recipe")
          showUploadFailed()
        } catch (e: HttpException) {
          Timber.e(e, "Error while creating recipe")
          showUploadFailed()
        }
Is there a KEEP?