Exception: EM::PG::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- EM::PG::Error
- Defined in:
- lib/em/pg.rb
Direct Known Subclasses
BadStateError, ConnectionRefusedError, DisconnectError, PGError, UnexpectedStateError
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(params = {}) ⇒ Error
Returns a new instance of Error.
11 12 13 |
# File 'lib/em/pg.rb', line 11 def initialize(params = {}) params.each { |k, v| self.send("#{k}=", v) } end |