Gabungkan beberapa pengecualian PHP

try {
  ....
    do something here
  ....
} catch (\Exception | \Throwable $e) {
  return $e->getMessage();
}
Lokesh003