public function Response::getError in JSON-RPC 8
Same name and namespace in other branches
- 2.x src/Object/Response.php \Drupal\jsonrpc\Object\Response::getError()
Get the error of the response.
Return value
mixed The error of the response.
File
- src/
Object/ Response.php, line 112
Class
- Response
- Response object to help implement JSON RPC's spec for response objects.
Namespace
Drupal\jsonrpc\ObjectCode
public function getError() {
return $this->error;
}