Add custom error message when a connection to a MongoDB server fails.
Add custom error message when a connection to a Redis server fails.