Enumeration Caseswift-protobuf 1.28.1SwiftProtobuf
messageDepthLimit
Reached the nesting limit for messages within messages while decoding.
BinaryDecodingError.swift:43case messageDepthLimit
Other cases
case trailingGarbage
Extraneous data remained after decoding should have been complete.
case truncated
The decoder unexpectedly reached the end of the data before it was expected.
case invalidUTF8
A string field was not encoded as valid UTF-8.
case malformedProtobuf
The binary data was malformed in some way, such as an invalid wire format or field tag.
case missingRequiredFields
The definition of the message or one of its nested messages has required fields but the binary data did not include values for them. You must pass
partial: true
during decoding if you wish to explicitly ignore missing required fields.case internalExtensionError
An internal error happened while decoding. If this is ever encountered, please file an issue with SwiftProtobuf with as much details as possible for what happened (proto definitions, bytes being decoded (if possible)).