class

DuckDuckGo::ConnectionError

Inherits DuckDuckGo::Error < Exception < Reference < Object

HTTP/network errors

Constructors

new(message : String, cause : Exception | Nil = nil)
Source

Instance methods

cause

Returns the previous exception at the time this exception was raised. This is useful for wrapping exceptions and retaining the original exception information.

Source