fixed: Better error message.
Marcus Ramberg [Sun, 24 Apr 2005 21:07:36 +0000 (21:07 +0000)]
lib/Catalyst/Dispatcher.pm

index ea751e5..32ccd67 100644 (file)
@@ -139,7 +139,7 @@ sub forward {
         $path =~ s/::/\//g;
 
         unless ( $INC{ $path } ) {
-            my $error = qq/Unknown class "$class"/;
+            my $error = qq/Couldn't forward to "$class". Invalid or not loaded./;
             $c->error($error);
             $c->log->debug($error) if $c->debug;
             return 0;