yes it is really odd. The result is used as status code https://github.com/FriendsOfSymfony/FOSRestBundle/blob/master/Controller/ExceptionController.php#L197 or boolean