final public function RestfulException::getDescription in RESTful 7.2
Gets the description of the exception.
Return value
string The description.
File
- src/
Exception/ RestfulException.php, line 48 - Contains \Drupal\restful\Exception\RestfulException.
Class
Namespace
Drupal\restful\ExceptionCode
public final function getDescription() {
return $this->description ? $this->description : Response::$statusTexts[$this
->getCode()];
}