You are here

public function EntityCrudOutputWrapper::getErrors in GraphQL 8.3

Returns a list of error messages that occurred during entity creation.

Return value

array|null An array of error messages as plain strings.

File

modules/graphql_core/src/GraphQL/EntityCrudOutputWrapper.php, line 78

Class

EntityCrudOutputWrapper

Namespace

Drupal\graphql_core\GraphQL

Code

public function getErrors() {
  return $this->errors;
}