NAME
MVC::Neaf::Exception - Exception class for Not Even A Framework.
DESCRIPTION
Currently internal signalling or MVC::Neaf is based on the exception mechanism. To avoid collisions with user's exceptions or Perl errors, these internal exceptions are blessed into this class.
Please see the neaf_err() function in MVC::Neaf.
METHODS
new( 500 )
new( %options )
Returns a new exception object.
as_string()
Stringify. Result is guaranteed to start with MVC::Neaf.
TO_JSON()
Converts exception to JSON, so that it doesn't frighten View::JS.