You are here

protected property UnprocessableHttpEntityException::$violations in JSON:API 8

Same name and namespace in other branches
  1. 8.2 src/Exception/UnprocessableHttpEntityException.php \Drupal\jsonapi\Exception\UnprocessableHttpEntityException::violations

The constraint violations associated with this exception.

Type: \Drupal\Core\Entity\EntityConstraintViolationListInterface

File

src/Exception/UnprocessableHttpEntityException.php, line 29

Class

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

Namespace

Drupal\jsonapi\Exception

Code

protected $violations;