From: Andrey Kutejko Date: Mon, 19 Sep 2011 15:43:00 +0000 (+0300) Subject: nice error message in orm parser X-Git-Tag: 0.6~145 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=1a72a57e6c01210c509eb2c7aad7ca439a3b9412;p=ipf-legacy-orm.git nice error message in orm parser --- 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 +}