Neos\Neos\TypoScript\ExceptionHandlers\NodeWrappingHandler::getMessage PHP Method

getMessage() protected method

appends the given reference code to the exception's message unless it is unset
protected getMessage ( Exception $exception, $referenceCode ) : string
$exception Exception
$referenceCode
return string
    protected function getMessage(\Exception $exception, $referenceCode)
    {
        if (isset($referenceCode)) {
            return sprintf('%s (%s)', $exception->getMessage(), $referenceCode);
        }
        return $exception->getMessage();
    }
NodeWrappingHandler