katien
12/05/2017, 7:47 PMerrors.map { (k, v) ->
return when (v) {
is String -> listOf(v)
is List<*> -> v
else -> v.toString()
}
}