Skip to content

Commit

Permalink
Fix doc ref
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed Mar 19, 2024
1 parent e8434e8 commit a085883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func NewWireError(c Code, underlying error) *Error {
// example, an RPC-to-HTTP proxy might expose a server-sent CodeUnknown as an
// HTTP 500 but a client-synthesized CodeUnknown as a 503.
//
// Handlers will strip [Meta] headers propagated from wire errors to avoid
// Handlers will strip [Error.Meta] headers propagated from wire errors to avoid
// leaking response headers. To propagate headers recreate the error as a
// non-wire error.
func IsWireError(err error) bool {
Expand Down

0 comments on commit a085883

Please sign in to comment.