Answers for "Undefined type 'Exeption'"

0

Undefined type 'Exeption'

try {
    annundefinedmethod();
}
catch (Error $e) {
    //$e->getMessage() == "Call to undefined function annundefinedmethod()"
}
Posted by: Guest on December-05-2020

Browse Popular Code Answers by Language