Enumerationswift-protobuf 1.29.0SwiftProtobuf
JSONEncoding
Errors arising from JSON encoding of messages.
enum JSONEncoding
Errors arising from JSON encoding of messages.
enum JSONEncoding
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct SwiftProtobufError
A SwiftProtobuf specific error.
init(code: Code, message: String, location: SourceLocation)
var code: Code { get set }
A high-level error code to provide broad a classification.
var debugDescription: String { get }
var description: String { get }
enum BinaryDecoding
Errors arising from binary decoding of data into protobufs.
enum BinaryStreamDecoding
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.
struct Code
A high level indication of the kind of error being thrown.
enum JSONDecoding
Errors arising from JSON decoding of data into protobufs.
struct SourceLocation
A location within source code.
static func emptyAnyTypeURL(function: String = #function, file: String = #fileID, line: Int = #line) -> SwiftProtobufError
While encoding a google.protobuf.Any
encountered an empty type_url
field.
static func invalidAnyTypeURL(type_url: String, function: String = #function, file: String = #fileID, line: Int = #line) -> SwiftProtobufError
While encoding a google.protobuf.Any
encountered a malformed type_url
field.