cueball
12/14/2018, 9:40 AMclass RideException(private val errorCode: ErrorCode, t: Throwable) : Exception(t) {
constructor(errorCode: ErrorCode) : super(errorCode.exceptionMessage)
}
getting error near super -> primary constructor expectedgsala
12/14/2018, 9:45 AMErrorCode and a Throwable. When you call super you have to provide both.karelpeeters
12/14/2018, 9:46 AMthis tookarelpeeters
12/14/2018, 9:46 AM