ValueError

A decoder successfully to cast a variant to an expected value type, but it was not a valid case of the expected destination type.

BSON.ValueError.swift:6
@frozen struct ValueError<Value, Cases> where Value : Sendable