I'd prefer to have a specific error class here - maybe `Mongo::InvalidURI` or `Mongo::InvalidURIError`.