ErrorCollection::$errors
Same name in other branches
- 8.9.x core/modules/jsonapi/src/JsonApiResource/ErrorCollection.php \Drupal\jsonapi\JsonApiResource\ErrorCollection::errors
- 10 core/modules/jsonapi/src/JsonApiResource/ErrorCollection.php \Drupal\jsonapi\JsonApiResource\ErrorCollection::errors
- 11.x 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\JsonApiResourceCode
protected $errors;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.