Added error message for invalid alt page params.

Resolves issue #178.