This is a wire breaking change for json errors since we have removed and renamed a few fields, and changed part of the structure of the returned json error. * Remove redundant fields in Status, details.error_id, details.TraceId and details.request_id from API errors. * Added wrapped errors and "ops" field to indicate the internal operation of the errors returned by the API. * Added error cli error reporting of Op and wrapped errors.
8 lines
218 B
Go
8 lines
218 B
Go
// Code generated by "make api"; DO NOT EDIT.
|
|
package api
|
|
|
|
type ErrorDetails struct {
|
|
RequestFields []*FieldError `json:"request_fields,omitempty"`
|
|
WrappedErrors []*WrappedError `json:"wrapped_errors,omitempty"`
|
|
}
|