laravel/framework — pull request #1427 by devmach (2013-05-28 00:47:53+00:00)
Title: When Exception occurs, return also the exception code not only a message...

....

If we don't return any exception code, or return always 0, programmer have to parse a exception message. It's not a developer friendly approach.