JException::__construct
Constructor - used to set up the error with all needed error details.
Signature
public function __construct(string
$msg,
[string
$code = 0,
[integer
$level = null,
[string
$info = null,
[boolean
$backtrace = false]]]] )
Parameters
-
$msg
- The error message
-
$code
- The error code from the application
-
$level
- The error level (use the PHP constants E_ALL, E_NOTICE etc.).
-
$info
- Optional: The additional error information.
-
$backtrace
- True if backtrace information is to be collected