JSONEncodingError
Enum constants that identify the particular error.
enum JSONEncodingErrorEnum constants that identify the particular error.
enum JSONEncodingErrorimport SwiftProtobufSupport library for Swift code generated by protoc-gen-swift.
case anyTranscodeFailureAny fields that were decoded from binary format cannot be re-encoded into JSON unless the object they hold is a well-known type or a type registered with via Google_Protobuf_Any.register()
case timestampRangeTimestamp values can only be JSON encoded if they hold a value between 0001-01-01Z00:00:00 and 9999-12-31Z23:59:59.
case durationRangeDuration values can only be JSON encoded if they hold a value less than +/- 100 years.
case fieldMaskConversionField masks get edited when converting between JSON and protobuf
case missingFieldNamesField names were not compiled into the binary
case missingValueInstances of Google_Protobuf_Value can only be encoded if they have a valid kind (that is, they represent a null value, number, boolean, string, struct, or list).
case valueNumberNotFinitegoogle.protobuf.Value cannot encode double values for infinity or nan, because they would be parsed as a string.
protocol EquatableA type that can be compared for value equality.
protocol Error : SendableA type representing an error value that can be thrown.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol SendableA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
var localizedDescription: String { get }Retrieve the localized description for this error.
static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.