Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityAccessDeniedHttpException.php

function EntityAccessDeniedHttpException::getError

Returns the error.

Return value

array The error.

File

core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php, line 84

Class

EntityAccessDeniedHttpException
Enhances the access denied exception with information about the entity.

Namespace

Drupal\jsonapi\Exception

Code

public function getError() {
    return $this->error;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal