diff --git a/error.go b/error.go index 631f435a5fea2aeab1dc489b92da7e8dafc61268..4110560b965ef194ec1cb14ce6995bac3242134b 100644 --- a/error.go +++ b/error.go @@ -47,7 +47,7 @@ var ( ErrUnsupportedDestination = errors.New(`Unsupported destination type.`) ErrUnsupportedType = errors.New(`This type does not support marshaling.`) ErrUnsupportedValue = errors.New(`This value does not support unmarshaling.`) - ErrUnknownConditionType = errors.New(`Arguments of type %s can't be used as constraints.`) + ErrUnknownConditionType = errors.New(`Arguments of type %T can't be used as constraints.`) ) // Deprecated but kept for backwards compatibility. See: https://github.com/upper/db/issues/18