If :oauth.get/3 results in a network error it returns a tuple with error information. This results in an ArgumentError in Ueberauth.Strategy.Twitter.OAuth.request_token!/2 because Kernel.raise/1 only supports exceptions, binaries, and atoms:
raise/1 expects an alias, string or exception as the first argument, got: {:error,
{:failed_connect, [{:to_address, {'api.twitter.com', 443}}, {:inet, [:inet], :nxdomain}]}}
If
:oauth.get/3
results in a network error it returns a tuple with error information. This results in anArgumentError
inUeberauth.Strategy.Twitter.OAuth.request_token!/2
becauseKernel.raise/1
only supports exceptions, binaries, and atoms: