From b56a2f8560c0ba76c0f0bf602f3af1e60ca7bb9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Nieto?= <jose.carlos@menteslibres.net> Date: Sat, 23 May 2015 09:40:58 -0500 Subject: [PATCH] Changing error message to use %T. --- error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error.go b/error.go index 631f435a..4110560b 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 -- GitLab