PHP - Error and Exception Handling
How do you correctly define a custom exception class named CustomError that inherits from PHP's built-in Exception class?
How do you correctly define a custom exception class named CustomError that inherits from PHP's built-in Exception class?
extends keyword.Exception class, not Error or implement it.extends Exception to define custom exceptions [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions