mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
12 lines
219 B
Go
12 lines
219 B
Go
package models
|
|
|
|
type ErrorBody struct {
|
|
Message string `json:"message,omitempty"`
|
|
Fields string `json:"fields,omitempty"`
|
|
}
|
|
|
|
// Validate validates this error body
|
|
func (m *ErrorBody) Validate() error {
|
|
return nil
|
|
}
|