(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Exception that represents error in the program logic. This kind of exception should lead directly to a fix in your code.
$message
$code
$previous
null