Skip to content

Commit

Permalink
Merge pull request #34 from formancehq/chore/add-details-field-to-err…
Browse files Browse the repository at this point in the history
…or-response

chore: Add details field to ErrorResponse
  • Loading branch information
Antoine Gelloz authored Jan 2, 2023
2 parents 66cd3c9 + 523c535 commit f90bc2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ type Total struct {
type ErrorResponse struct {
ErrorCode string `json:"errorCode,omitempty"`
ErrorMessage string `json:"errorMessage,omitempty"`
Details string `json:"details,omitempty"`

// deprecated
ErrorCodeDeprecated string `json:"error_code,omitempty"`
Expand Down

0 comments on commit f90bc2f

Please sign in to comment.