You are here

public function Error::getData in JSON-RPC 8

Same name and namespace in other branches
  1. 2.x src/Object/Error.php \Drupal\jsonrpc\Object\Error::getData()

Get additional information about the error.

Return value

mixed The additional data about the error.

File

src/Object/Error.php, line 108

Class

Error
Error class to help implement JSON RPC's spec for errors.

Namespace

Drupal\jsonrpc\Object

Code

public function getData() {
  return $this->data;
}