ECB mode is basically never the right option so it makes sense to include warnings and the like. The other modes get insecure if you make simple mistakes sure, but ECB is insecure no matter what you do.