deErr

fun deErr(v: Any?, type: String, cause: Throwable? = null): Nothing

A shortcut to throw ValueDeserializationException.