From: Peter Rabbitson Date: Wed, 1 Jul 2009 10:22:00 +0000 (+0000) Subject: Clarify exception text X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2f4d5bef0c9f7794c43288530161b85a527cff20;p=dbsrgits%2FDBIx-Class-Historic.git Clarify exception text --- diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index 9b13307..c3c70c6 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -1087,7 +1087,7 @@ sub inflate_result { } elsif ($accessor eq 'filter') { $new->{_inflated_column}{$pre} = $fetched; } else { - $class->throw_exception("Prefetch not supported with accessor '$accessor'"); + $class->throw_exception("Implicit prefetch (via select/columns) not supported with accessor '$accessor'"); } $new->related_resultset($pre)->set_cache([ $fetched ]); }