Throw a meaningful error when there is no default engine
Merge pull request #1625 from ForbesLindesay/patch-1

Throw a meaningful error when there is no default engine