[RSS Feed/News] XF\Error should be extendable

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Function calls like $exceptionMessage = $this->adjustExceptionMessage($e->getMessage(), $e); with the code
PHP:

Code:
    protected function adjustExceptionMessage($message, $e)
    {
        return $message;
    }

Implies that XF\Error should be extendable, but it isn't:
PHP:

Code:
        $container['error'] = function ()
        {
            return new Error($this);
        };

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom