You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/api/error.gen.go

26 lines
549 B

// Code generated by "make api"; DO NOT EDIT.
package api
import "bytes"
type Error struct {
Kind string `json:"kind,omitempty"`
Op string `json:"op,omitempty"`
Message string `json:"message,omitempty"`
Details *ErrorDetails `json:"details,omitempty"`
response *Response
}
func (n Error) ResponseBody() *bytes.Buffer {
return n.response.Body
}
func (n Error) ResponseMap() map[string]interface{} {
return n.response.Map
}
func (n Error) ResponseStatus() int {
return n.response.HttpResponse().StatusCode
}