/
model_error.go
21 lines (20 loc) · 986 Bytes
/
model_error.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
* Harness NextGen Software Delivery Platform API Reference
*
* This is the Open Api Spec 3 for the NextGen Manager. This is under active development. Beware of the breaking change with respect to the generated code stub # Authentication <!-- ReDoc-Inject: <security-definitions> -->
*
* API version: 3.0
* Contact: contact@harness.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package nextgen
// This is Error entity as defined in Harness
type ModelError struct {
Status string `json:"status,omitempty"`
Code string `json:"code,omitempty"`
Message string `json:"message,omitempty"`
CorrelationId string `json:"correlationId,omitempty"`
DetailedMessage string `json:"detailedMessage,omitempty"`
ResponseMessages []ResponseMessage `json:"responseMessages,omitempty"`
Metadata *ErrorMetadata `json:"metadata,omitempty"`
}