]> git.andy128k.dev Git - ipf.git/commitdiff
nice error message in orm parser
authorAndrey Kutejko <andy128k@gmail.com>
Mon, 19 Sep 2011 15:43:00 +0000 (18:43 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Mon, 19 Sep 2011 15:43:00 +0000 (18:43 +0300)
ipf/orm/relation/parser.php

index fde505b5da218f7c1717e28d6d7d8fc239cec2cd..6f3b46095059f947c95555fdf1127698ce3b2cb3 100644 (file)
@@ -135,7 +135,7 @@ class IPF_ORM_Relation_Parser
             $this->getRelations();
             return $this->getRelation($alias, false);
         } else {
-            throw new IPF_ORM_Exception('Unknown relation alias ' . $alias);
+            throw new IPF_ORM_Exception('Unknown relation alias "' . $alias . '".');
         }
     }
 
@@ -386,4 +386,4 @@ class IPF_ORM_Relation_Parser
         }
         return $def;
     }
-}
\ No newline at end of file
+}