SourceLocation
A location within source code.
struct SourceLocation
A location within source code.
struct SourceLocation
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.
enum JSONEncoding
Errors arising from JSON encoding of messages.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(function: String, file: String, line: Int)
var file: String
The file in which the error was thrown.
var function: String
The function in which the error was thrown.
var line: Int
The line on which the error was thrown.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.