`val errors = listOf(torrent.error) ?: null` maybe...
# getting-started
n
val errors = listOf(torrent.error) ?: null
maybe. Not sure of syntax