AccessException.php

Same filename in other branches
  1. 8.9.x core/lib/Drupal/Core/Access/AccessException.php
  2. 10 core/lib/Drupal/Core/Access/AccessException.php
  3. 11.x core/lib/Drupal/Core/Access/AccessException.php

Namespace

Drupal\Core\Access

File

core/lib/Drupal/Core/Access/AccessException.php

View source
<?php

namespace Drupal\Core\Access;


/**
 * An exception thrown for access errors.
 *
 * Examples could be invalid access callback return values, or invalid access
 * objects being used.
 */
class AccessException extends \RuntimeException {

}

Classes

Title Deprecated Summary
AccessException An exception thrown for access errors.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.