Rename SeException class to AppException

This commit is contained in:
Alex Cabal 2023-07-14 09:36:10 -05:00
parent 3a02ab281d
commit 12cf83a843
39 changed files with 45 additions and 45 deletions

View file

@ -39,7 +39,7 @@ try{
http_response_code(201);
}
}
catch(Exceptions\SeException){
catch(Exceptions\AppException){
Template::Emit404();
}

View file

@ -101,7 +101,7 @@ catch(Exceptions\NewsletterSubscriptionExistsException){
http_response_code(409);
}
}
catch(Exceptions\SeException $ex){
catch(Exceptions\AppException $ex){
// Validation failed
if($requestType == WEB){
$_SESSION['subscription'] = $subscription;