func (c *_Conn) notifyError(err *types.Error, messageID uint16) {
	err.ID = int(messageID)
	if b, err := json.Marshal(err); err == nil {
		c.SendMessage(&message.Message{
			Topic:   "unitdb/error/",
			Payload: b,
		})
	}
}
// notifyError notifies the connection about an error
notifyError notifies the connection about an error
// notifyError notifies the connection about an error
func (c *_Conn) notifyError(err *types.Error, messageID uint16) {
	err.ID = int(messageID)
	if b, err := json.Marshal(err); err == nil {
		c.SendMessage(&message.Message{
			Topic:   "unitdb/error/",
			Payload: b,
		})
	}
}
func ( c * _Conn ) notifyError ( err * types . Error , messageID uint16 ) { err . ID = int ( messageID ) if b , err := json . Marshal ( err ) ; err == nil { c . SendMessage ( & message . Message { Topic : " " , Payload : b , } ) } }
notifyError notifies the connection about an error
notifyError notifies the connection about an error