`AddEndpoint` should use the error from endpoint instead of the very opinionated `IOError`
AddEndpointshould use the error from endpoint instead of the very opinionatedIOError