Checks the shape of connection options and throws a TypeError describing the first problem found. Catches the misconfigurations that would otherwise surface later as an opaque 404 or connection error on the first request.
TypeError
Checks the shape of connection options and throws a
TypeErrordescribing the first problem found. Catches the misconfigurations that would otherwise surface later as an opaque 404 or connection error on the first request.