From 1a72a57e6c01210c509eb2c7aad7ca439a3b9412 Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Mon, 19 Sep 2011 18:43:00 +0300 Subject: [PATCH] nice error message in orm parser --- ipf/orm/relation/parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipf/orm/relation/parser.php b/ipf/orm/relation/parser.php index fde505b..6f3b460 100644 --- a/ipf/orm/relation/parser.php +++ b/ipf/orm/relation/parser.php @@ -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 +} -- 2.49.0