What sort of exceptions should I be throwing from inside Kohana 3?

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-04-16T05:09:09Z Indexed on 2010/04/16 5:13 UTC
Read the original article Hit count: 185

Filed under:
|
|
|

I've seen the code examples on this article, but throwing Controller_Exception_404 produces an error.

I've just been throwing plain exceptions. I remember in Kohana 2.3 there were different ones you could throw, depending on the situation.

Does anyone have a list of what exceptions should be thrown when?

© Stack Overflow or respective owner

Related posts about kohana

Related posts about kohana-3