Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Kay committed Nov 28, 2014
1 parent ce6b044 commit 884f033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Builder/Traits/WhereTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private function _getCurrentSet()
if($where === null)
{
throw new \RuntimeException(
"You can only use orWhere after specifying a where clause"
"You can only use andWhere and orWhere after specifying a where clause"
);
}

Expand Down

0 comments on commit 884f033

Please sign in to comment.