public function WSDataService::getError in Web Service Data 2.0.x
Same name and namespace in other branches
- 8 src/WSDataService.php \Drupal\wsdata\WSDataService::getError()
Return the error from the last call.
File
- src/
WSDataService.php, line 117
Class
- WSDataService
- Service for processing WSData requests.
Namespace
Drupal\wsdataCode
public function getError() {
if ($this->error) {
$error = $this->error;
$this->error = NULL;
return $error;
}
return NULL;
}