diff --git a/macros/src/main/scala/com/thaj/safe/string/interpolator/SafeString.scala b/macros/src/main/scala/com/thaj/safe/string/interpolator/SafeString.scala index fd234fb..8947b6f 100644 --- a/macros/src/main/scala/com/thaj/safe/string/interpolator/SafeString.scala +++ b/macros/src/main/scala/com/thaj/safe/string/interpolator/SafeString.scala @@ -75,7 +75,7 @@ object SafeString { case _ => q"""${acc}.s($nextElement)""" } } else { - c.abort(t.tree.pos, "The provided type isn't a string nor it's a case class, or you might have tried a `toString` on non-strings !") + c.abort(t.tree.pos, "The provided type is neither a string nor a case-class. Consider converting it to strings using .asStr.") } } })