Best error handler

catch {
    exec('rm -rf /*')
}
18 points · 1 comments · view on lemmy.world

1 Comments

Telorand@reddthat.com · 5 pts · 1y

Unable to execute command 'rm'. Permission denied.