Like :meth:`first` but aborts with 404 if not found instead of returning ``None``.

def first_or_404(self, description=None):
        """Like :meth:`first` but aborts with 404 if not found instead of returning ``None``."""

        rv = self.first()
        if rv is None:
            abort(404, description=description)
        return rv