-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
fatal_error
Description
Stops execution and displays an error message.
Syntax
void fatal_error (string $error[, mixed $log])
Parameter $error
Expected type: String
Description: The error message
Parameter $log
Expected type: Mixed
Description: Whether or not to log the error, and if so, what type of error this is
Allowed types for $log Allowed values Description Boolean false, if you don't want the error to be logged Enumerated String What type of error this is (see log_error) - defaults to 'general'
Notes
- $log specifies what type of error this is (or 'false' if the error shouldn't be logged)
- If $log isn't set, the error will be logged as a 'general' error (see log_error)
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.036 seconds with 13 queries.
- Forum Search