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