1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Throwing Response Errors...

Discussion in 'XenForo Development Discussions' started by Jaxel, Sep 3, 2015.

  1. Jaxel

    Jaxel Well-Known Member

    Is there a difference between these two codes?

    throw new XenForo_Exception(new XenForo_Phrase('error'), 404);
    throw $this->responseException($this->responseError(new XenForo_Phrase('error'), 404));

Share This Page