This can be used to generate exceptions within your application. An exception
can take the following parametrs:
You will also need to write a custom exception handler. For example, say you want to generate a 402 exception. You would do the following:
Inherited accessor method from Exception::Class.
Accessor method for dump attribute.
Accessor method for message attribute.
Accessor method for status attribute.
= item status_line()
You can use this to force a HTTP Found (302) to the browser. As an alternative
you can use the relocate() method for existing code.
You can use this to force a HTTP Moved Permanently (301) to the browser. As
an alternative you can use the relocate_permanently() method for existing code.
|Gantry::Exception::Declined||Primiarily used internally by Gantry. It will produce a status page when a url is not defined within your controllers.|
Kevin L. Esteb <firstname.lastname@example.org>
Copyright (C) 2008 Kevin L. Esteb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
|perl v5.20.3||GANTRY::EXCEPTION (3)||2016-04-03|