public function getErrorTypes() { return [[403, new AccessDeniedHttpException('', new AccessDeniedException())], [404, new NotFoundHttpException('', new PageNotFoundException())]]; }