class Pod4::PoolTimeout
Raised if ConnectionPool
times out waiting for a client to become free. This can only happen if your pool has a maximum number of clients set, and a max_wait value set; and if all the clients are currently in use.
Attributes
field[R]
Public Class Methods
from_alert(alert)
click to toggle source
# File lib/pod4/errors.rb, line 105 def self.from_alert(alert) self.new(alert.message, alert.field) end
new(message=nil, field=nil)
click to toggle source
Calls superclass method
Pod4::Pod4Error::new
# File lib/pod4/errors.rb, line 109 def initialize(message=nil, field=nil) super(message || $! && $!.message) @field = field.to_s.to_sym end