| 56 | } |
| 57 | |
| 58 | type Error struct { |
| 59 | Code int `json:"code,omitzero"` |
| 60 | Class string `json:"class,omitempty"` |
| 61 | Details string `json:"details,omitempty"` |
| 62 | } |
| 63 | |
| 64 | func NewErrorFromJCError(ctx context.Context, je *httputils.JSONClientError) Error { |
| 65 | err := Error{ |
nothing calls this directly
no outgoing calls
no test coverage detected