Skip to content

Commit

Permalink
Add cause attribute to problemDetails struct, as it's required by lot…
Browse files Browse the repository at this point in the history
… of 3gpp standards
  • Loading branch information
hargas authored and Som-Som-CC committed Jan 13, 2022
1 parent de7c174 commit d93eb69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions error.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ type ProblemDetails struct {
Type string `json:"type,omitempty"`
Title string `json:"title,omitempty"`
Detail string `json:"detail,omitempty"`
Cause string `json:"cause,omitempty"`
Instance string `json:"instance,omitempty"`
Status int `json:"status,omitempty"`
InvalidParams map[string]string `json:"invalidParams,omitempty"`
Expand Down

0 comments on commit d93eb69

Please sign in to comment.