JError::raiseError
Wrapper method for the raise() method with predefined error level of E_ERROR and backtrace set to true.
Signature
public function raiseError(string
$code,
[string
$msg = null,
[mixed
$info = null]] )
Parameters
-
$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
Returns
- $error The configured JError object