Enumeration Caseswift-protobuf 1.28.1SwiftProtobuf
malformedWellKnownTypeJSON
Well-known types being decoded from JSON must have only two fields: the @type
field and a value
field containing the specialized JSON coding of the well-known type.
case malformedWellKnownTypeJSON
Other cases
case typeMismatch
The
type_url
field in theGoogle_Protobuf_Any
message did not match the message type provided to theunpack()
method.case malformedAnyField
The
Google_Protobuf_Any
message was malformed in some other way not covered by the other error cases.