Creates a new AnnotationException describing a Semantical error.
Parameters
string $message Exception message:
Return value
AnnotationException
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/AnnotationException.php, line 50
Class
- AnnotationException
- Description of AnnotationException
Namespace
Doctrine\Common\Annotations
Code
public static function semanticalError($message) {
return new self('[Semantical Error] ' . $message);
}