kotlin catch all exceptions not internet and api exception code example Example: kotlin throw exception throw Exception("Exception message")