handleIllegalStateException

@ExceptionHandler(value = [IllegalStateException::class])
@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR)
fun handleIllegalStateException(exception: IllegalStateException): ApiResult<Void>

处理非法状态异常