Files
cloud-services/pkg/kafka/unhandled_msg.go

11 lines
305 B
Go

package kafka
import (
"fiskerinc.com/modules/common"
"github.com/pkg/errors"
)
var ErrUnhandledMessage = func(device common.Device, id string, handler string, msg interface{}) error {
return errors.Errorf("unhandled message, device: %v, id: %s handler: %s, payload: %v", device, id, handler, msg)
}