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

Throwing Response Errors...

Jaxel

Well-known member
#1
Is there a difference between these two codes?

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