| 129 | ) |
| 130 | |
| 131 | type Error struct { |
| 132 | Parent error `json:"-" schema:"-"` |
| 133 | ErrorType errorType `json:"error" schema:"error"` |
| 134 | Description string `json:"error_description,omitempty" schema:"error_description,omitempty"` |
| 135 | State string `json:"state,omitempty" schema:"state,omitempty"` |
| 136 | SessionState string `json:"session_state,omitempty" schema:"session_state,omitempty"` |
| 137 | redirectDisabled bool `schema:"-"` |
| 138 | returnParent bool `schema:"-"` |
| 139 | } |
| 140 | |
| 141 | func (e *Error) MarshalJSON() ([]byte, error) { |
| 142 | m := struct { |
nothing calls this directly
no outgoing calls
no test coverage detected