getMessage()); if (DEBUG_MODE) { errorResponse('Chyba databáze: ' . $e->getMessage(), 500); } else { errorResponse('Chyba databáze', 500); } }