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