feat: update error handling logic

This commit is contained in:
2025-04-13 22:18:14 +01:00
parent 46c6dd6e58
commit 54c2c8e897
4 changed files with 29 additions and 5 deletions

View File

@@ -13,6 +13,8 @@ $app->addBodyParsingMiddleware();
$app->get('/', [HomeFrontController::class, 'home']);
$app->get('/tasks', [TaskController::class, 'getTasks']);
$app->post('/tasks', [TaskController::class, 'addTask']);
$app->run();