Enumerationswift-protobuf 1.28.1SwiftProtobuf
BinaryEncodingError
Describes errors that can occur when decoding a message from binary format.
BinaryEncodingError.swift:16enum BinaryEncodingError
Cases
case anyTranscodeFailure
An unexpected failure when deserializing a
Google_Protobuf_Any
.case missingRequiredFields
The definition of the message or one of its nested messages has required fields but the message being encoded did not include values for them. You must pass
partial: true
during encoding if you wish to explicitly ignore missing required fields.
Citizens in SwiftProtobuf
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Error
A type representing an error value that can be thrown.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.
Instance features
var localizedDescription: String
Retrieve the localized description for this error.