Files
threshold/api/error.gen.go
T

22 lines
510 B
Go
Raw Normal View History

// Code generated by "make api"; DO NOT EDIT.
2020-05-04 10:58:20 -04:00
package api
import "bytes"
2020-05-04 10:58:20 -04:00
type Error struct {
2020-08-07 12:55:02 -04:00
Status int32 `json:"status,omitempty"`
Code string `json:"code,omitempty"`
Message string `json:"message,omitempty"`
2020-05-04 10:58:20 -04:00
Details *ErrorDetails `json:"details,omitempty"`
responseBody *bytes.Buffer
responseMap map[string]interface{}
}
func (n Error) ResponseBody() *bytes.Buffer {
return n.responseBody
}
func (n Error) ResponseMap() map[string]interface{} {
return n.responseMap
2020-05-04 10:58:20 -04:00
}