Open kke opened 5 years ago
Fixes #162
User should not care / know about transport backend.
Excon::Error::Certificate
Excon::Errors::CertificateError
K8s::Error::SSL
Excon::Error::Socket
Excon::Errors::SocketError
K8s::Error::Socket
K8s::Error::API
K8s::Error::HTTP_STATUS_ERRORS
K8s::Error::Transport
::SSL
::Socket
::Transport
Fixes #162
User should not care / know about transport backend.
Excon::Error::Certificate
/Excon::Errors::CertificateError
is raised asK8s::Error::SSL
Excon::Error::Socket
/Excon::Errors::SocketError
is raised asK8s::Error::Socket
K8s::Error::API
,K8s::Error::HTTP_STATUS_ERRORS
) Excon errors are reraised asK8s::Error::Transport
.K8s::Error::Transport
will also rescue from::SSL
and::Socket
as they are inherited from::Transport
.