[BUGFIX beta] Better error message for rejected routes.
Merge pull request #4698 from rjackson/add-better-errors-for-rejected-model-hooks

[BUGFIX beta] Better error message for rejected routes.