function AnnotationException::creationError
Creates a new AnnotationException describing an error which occurred during the creation of the annotation.
Return value
3 calls to AnnotationException::creationError()
- DocParser::Annotation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php - Annotation ::= "@" AnnotationName MethodCall AnnotationName ::= QualifiedName | SimpleName QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName NameSpacePart ::= identifier | null | false |…
- 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 |…
- DocParser::instantiateAnnotiation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php - Try to instantiate the annotation and catch and process any exceptions related to failure
File
-
vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationException.php, line 45
Class
- AnnotationException
- Description of AnnotationException
Namespace
Doctrine\Common\AnnotationsCode
public static function creationError(string $message, ?Throwable $previous = null) {
return new self('[Creation Error] ' . $message, 0, $previous);
}