Function ext_php_rs::error::php_error
source · pub fn php_error(type_: ErrorType, message: &str)
Expand description
Trigger an error that is reported in PHP the same way trigger_error()
is.
See specific error type descriptions at https://www.php.net/manual/en/errorfunc.constants.php.