Module: Digicert::Errors
- Defined in:
- lib/digicert/errors.rb,
lib/digicert/errors/forbidden.rb,
lib/digicert/errors/server_error.rb,
lib/digicert/errors/unauthorized.rb,
lib/digicert/errors/request_error.rb
Defined Under Namespace
Classes: Forbidden, RequestError, ServerError, Unauthorized
Class Method Summary
collapse
Class Method Details
.error_klass_for(response) ⇒ Object
.server_errors ⇒ Object
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'lib/digicert/errors.rb', line 8
def self.server_errors
[
OpenSSL::SSL::SSLError,
Errno::ETIMEDOUT,
Errno::EHOSTUNREACH,
Errno::ENETUNREACH,
Errno::ECONNRESET,
Net::OpenTimeout,
SocketError,
Net::HTTPServerError,
]
end
|