JError::raise
Create a new JException object given the passed arguments
Signature
public function raise(integer
$level,
[string
$code = null,
[string
$msg = null,
[mixed
$info = null,
[boolean
$backtrace = false]]]] )
Parameters
-
$level
- The error level - use any of PHP's own error levels for
-
$code
- The application-internal error code for this error
-
$msg
- The error message, which may also be shown the user if need be.
-
$info
- Optional: Additional error information (usually only
-
$backtrace
- Add a stack backtrace to the exception.
Returns
- mixed
- The JException object