class NumerousNetworkError
A NumerousNetworkError
occurs when there is a “somewhat normal” network error. The library catches the lower level exceptions that normally happen when the network is down or the HTTP connection times out and translates those into this exception so you can rescue this without being exposed to all the details of the lower-level networking exceptions.
Public Class Methods
new(xc)
click to toggle source
Calls superclass method
NumerousError::new
# File lib/numerousapp.rb, line 85 def initialize(xc) super("Network Error", -1, { :netException => xc }) end