Sam Pettersson
Sam Pettersson

Reputation: 3227

HHVM breaks on NotFoundHttpException

Laravel throws Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException and then App::missing() catches this, atleast it does that in non HHVM PHP but how would i catch the exception in HHVM?

Upvotes: 0

Views: 86

Answers (1)

Paul Tarjan
Paul Tarjan

Reputation: 50652

HHVM aims to execute any PHP so you would catch it the same way with try {} catch {}.

Upvotes: 4

Related Questions