Skip to content

Commit

Permalink
Add metadata to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-bradley committed Jul 26, 2024
1 parent 53cbc05 commit 0d5af43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consumer/consumererror/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ type ErrorData interface {

// Returns nil if a status is not available.
GRPCStatus() (*status.Status, bool)

Metadata() []any
}

type errorData struct {
Expand Down

0 comments on commit 0d5af43

Please sign in to comment.