kotlin if not error do something code example Example: kotlin throw exception throw Exception("Exception message")