github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/api/models/error_body.go (about) 1 package models 2 3 type ErrorBody struct { 4 Message string `json:"message,omitempty"` 5 Fields string `json:"fields,omitempty"` 6 } 7 8 // Validate validates this error body 9 func (m *ErrorBody) Validate() error { 10 return nil 11 }