You are here

protected property ErrorCollection::$errors in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/JsonApiResource/ErrorCollection.php \Drupal\jsonapi\JsonApiResource\ErrorCollection::errors

The HTTP exceptions.

Type: \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface[]

File

core/modules/jsonapi/src/JsonApiResource/ErrorCollection.php, line 29

Class

ErrorCollection
To be used when the primary data is `errors`.

Namespace

Drupal\jsonapi\JsonApiResource

Code

protected $errors;