Dudes need better error messages

This commit is contained in:
Thomas Gelf 2014-03-04 14:08:44 +00:00
parent bb9bc39522
commit 7d22994d80

View File

@ -441,7 +441,9 @@ abstract class IdoQuery extends Query
protected function conflictsWithVirtualTable($name) protected function conflictsWithVirtualTable($name)
{ {
if ($this->hasJoinedVirtualTable($name)) { if ($this->hasJoinedVirtualTable($name)) {
throw new ProgrammingError('Great work, dude'); throw new ProgrammingError(
sprintf('IDO query virtual table conflict with "%s"', $name)
);
} }
return $this; return $this;
} }