UnprocessableHttpEntityException::$violations

Same name in other branches
  1. 9 core/modules/jsonapi/src/Exception/UnprocessableHttpEntityException.php \Drupal\jsonapi\Exception\UnprocessableHttpEntityException::violations
  2. 8.9.x core/modules/jsonapi/src/Exception/UnprocessableHttpEntityException.php \Drupal\jsonapi\Exception\UnprocessableHttpEntityException::violations
  3. 11.x core/modules/jsonapi/src/Exception/UnprocessableHttpEntityException.php \Drupal\jsonapi\Exception\UnprocessableHttpEntityException::violations

The constraint violations associated with this exception.

Type: \Drupal\Core\Entity\EntityConstraintViolationListInterface

File

core/modules/jsonapi/src/Exception/UnprocessableHttpEntityException.php, line 33

Class

UnprocessableHttpEntityException
A class to represent a 422 - Unprocessable Entity Exception.

Namespace

Drupal\jsonapi\Exception

Code

protected $violations;

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