Skip to content

Commit 0ee2b63

Browse files
authored
Merge branch 'main' into fix-docs-typo
2 parents 8823358 + ac5100a commit 0ee2b63

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Sources/GRPCProtobuf/Errors/GoogleRPCStatus.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ public import SwiftProtobuf
3333
/// >
3434
/// > The error information is transmitted to clients in the trailing metadata of an RPC. It is
3535
/// > inserted into the metadata keyed by "grpc-status-details-bin". The value of the metadata is
36-
/// > the serialized bytes of a "google.protobuf.Any" protocol buffers message. The content of which
37-
/// > is a "google.rpc.Status" protocol buffers message containing the status code, message, and
38-
/// > details.
39-
public struct GoogleRPCStatus: Error {
36+
/// > the serialized bytes of a "google.rpc.Status" protocol buffers message containing the status
37+
/// > code, message, and details.
38+
public struct GoogleRPCStatus: Error, Hashable {
4039
/// A code representing the high-level domain of the error.
4140
public var code: RPCError.Code
4241

0 commit comments

Comments
 (0)