function AnnotationException::creationError
Creates a new AnnotationException describing an error which occurred during the creation of the annotation.
Return value
1 call to AnnotationException::creationError()
- DocParser::Annotation in core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ DocParser.php - Annotation ::= "@" AnnotationName MethodCall AnnotationName ::= QualifiedName | SimpleName QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName NameSpacePart ::= identifier | null | false |…
File
-
core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ AnnotationException.php, line 69
Class
- AnnotationException
- Description of AnnotationException
Namespace
Drupal\Component\Annotation\DoctrineCode
public static function creationError(string $message, ?Throwable $previous = null) {
return new self('[Creation Error] ' . $message, 0, $previous);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.