Static Propertyswift-protobuf 1.29.0SwiftProtobuf
jsonEncodingError
Errors arising from JSON encoding of messages.
static var jsonEncodingError: Self { get }
Errors arising from JSON encoding of messages.
static var jsonEncodingError: Self { get }
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Code
A high level indication of the kind of error being thrown.
struct SwiftProtobufError
A SwiftProtobuf specific error.
static var binaryDecodingError: Self { get }
Errors arising from binary decoding of data into protobufs.
static var binaryStreamDecodingError: Self { get }
Errors arising from decoding streams of binary messages. These errors have to do with the framing of the messages in the stream, or the stream as a whole.
static var jsonDecodingError: Self { get }
Errors arising from JSON decoding of data into protobufs.
var description: String { get }
This Code’s description.