public static function AnnotationException::typeError in Plug 7
Creates a new AnnotationException describing a type error.
@since 1.1
Parameters
string $message:
Return value
2 calls to AnnotationException::typeError()
- AnnotationException::attributeTypeError in lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationException.php - Creates a new AnnotationException describing an type error of an attribute.
- AnnotationException::requiredError in lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationException.php - Creates a new AnnotationException describing an required error of an attribute.
File
- lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationException.php, line 81
Class
- AnnotationException
- Description of AnnotationException
Namespace
Doctrine\Common\AnnotationsCode
public static function typeError($message) {
return new self('[Type Error] ' . $message);
}