Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pkwarren committed Sep 12, 2023
1 parent e5cb13a commit a5a296e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions error.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ func (e *Error) AddDetail(d *ErrorDetail) {
// When clients receive errors, the metadata contains the union of the HTTP
// headers and the protocol-specific trailers (either HTTP trailers or in-body
// metadata).
//
// Note that Meta returns a http.Header and is not safe for concurrent use.
func (e *Error) Meta() http.Header {
return e.meta
}
Expand Down

0 comments on commit a5a296e

Please sign in to comment.