public function EntityAccessDeniedHttpException::getError in JSON:API 8
Same name and namespace in other branches
- 8.2 src/Exception/EntityAccessDeniedHttpException.php \Drupal\jsonapi\Exception\EntityAccessDeniedHttpException::getError()
Returns the error.
Return value
array The error.
File
- src/
Exception/ EntityAccessDeniedHttpException.php, line 72
Class
- EntityAccessDeniedHttpException
- Enhances the access denied exception with information about the entity.
Namespace
Drupal\jsonapi\ExceptionCode
public function getError() {
return $this->error;
}