mirror of
https://github.com/standardebooks/web.git
synced 2025-07-20 22:33:57 -04:00
Rename SeException class to AppException
This commit is contained in:
parent
3a02ab281d
commit
12cf83a843
39 changed files with 45 additions and 45 deletions
|
@ -39,7 +39,7 @@ try{
|
|||
http_response_code(201);
|
||||
}
|
||||
}
|
||||
catch(Exceptions\SeException){
|
||||
catch(Exceptions\AppException){
|
||||
Template::Emit404();
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue