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));
 
Top