Raised when connection to the database could not been established (for example when connection= is given a nil object).