zirconium-go/core/models/protocol_error.go

8 lines
225 B
Go

package models
type ProtocolError struct {
ErrCode string `structs:"code"`
ErrText string `structs:"text,omitempty"`
ErrPayload map[string]interface{} `structs:"payload,omitempty"`
}