class Ferrum::PendingConnectionsError

Attributes

pendings[R]

Public Class Methods

new(url, pendings = []) click to toggle source
Calls superclass method Ferrum::StatusError::new
# File lib/ferrum.rb, line 21
def initialize(url, pendings = [])
  @pendings = pendings

  message = "Request to #{url} reached server, but there are still pending connections: #{pendings.join(', ')}"

  super(url, message)
end