Commit cf503ec1 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Improve exception message even more

parent 5840ff5b
......@@ -80,7 +80,10 @@ class DBALException extends \Exception
{
return new self('Unknown column type "'.$name.'" requested. Any Doctrine type that you use has ' .
'to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the ' .
'known types with \Doctrine\DBAL\Types\Type::getTypeMap(). If the type name is empty you might ' .
'known types with \Doctrine\DBAL\Types\Type::getTypeMap(). If this error occurs during database ' .
'introspection then you might have forgot to register all database types for a Doctrine Type. Use ' .
'AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement ' .
'Type#getMappedDatabaseTypes(). If the type name is empty you might ' .
'have a problem with the cache or forgot some mapping information.'
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment