Instance Propertyswift-protobuf 1.29.0SwiftProtobuf
description
SwiftProtobufError.swift:172var description: String { get }
var description: String { get }
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct SwiftProtobufError
A SwiftProtobuf specific error.
@frozen struct String
A Unicode string value that is a collection of characters.
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 }
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.
enum JSONEncoding
Errors arising from JSON encoding of messages.
struct SourceLocation
A location within source code.