Contao\CoreBundle\Test\EventListener\PrettyErrorScreenListenerTest::getErrorTypes PHP Méthode

getErrorTypes() public méthode

Provides the data for the testContaoPageHandler() method.
public getErrorTypes ( ) : array
Résultat array
    public function getErrorTypes()
    {
        return [[403, new AccessDeniedHttpException('', new AccessDeniedException())], [404, new NotFoundHttpException('', new PageNotFoundException())]];
    }