NAME

CatalystX::Utils::HttpException - A basic way to throw exceptions

SYNOPSIS

use CatalystX::Utils::HttpException;

throw_http $code, %extra

DESCRIPTION

If you need to throw an exception from code called by Catalyst, such as code deep inside your DBIx::Class classes and you want to signal how to handle the issue you an use this. Actually I find the approach somewhat dubious but people seem to want it and I'd rather provide a canonical approach.

SEE ALSO

CatalystX::Errors.

AUTHOR

CatalystX::Errors.

COPYRIGHT & LICENSE

CatalystX::Errors.