Skip to content

Commit

Permalink
docs: describe exception field usage (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekperkins authored Feb 10, 2021
1 parent 278837e commit cf6576f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ func NewRequest(r *http.Request) *Request {

// Exception specifies an error that occurred.
type Exception struct {
Type string `json:"type,omitempty"`
Value string `json:"value,omitempty"`
Type string `json:"type,omitempty"` // used as the main issue title
Value string `json:"value,omitempty"` // used as the main issue subtitle
Module string `json:"module,omitempty"`
ThreadID string `json:"thread_id,omitempty"`
Stacktrace *Stacktrace `json:"stacktrace,omitempty"`
Expand Down

0 comments on commit cf6576f

Please sign in to comment.