# jeHTTPErrorException # ## Overview ## in short 'the same as sfError404Exception but not limited to 404'. Possible usage of the usual forward functions jeHTTPError::forward(400, 'you missed an url parameter'); jeHTTPError::forwardIf(!$request->hasParameter('myparam'), 400, 'you missed an url parameter'); jeHTTPError::forwardUnless($request->hasParameter('myparam'), 400, 'you missed an url parameter'); Or the most basic usage throw new jeHTTPErrorException(400, 'you missed') As usual the plugin contains a demo module to play with in plugins/jeHTTPErrorExceptionPlugin/modules/jeHTTPErrorExceptionPluginDemo Just symlink/copy it in /apps/frontend/modules and you are done ## TODO ## * Improve the documentation ## License ## For the full copyright and license information, please view the LICENSE file that was distributed with this source code.