Exception: PG::Error
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/pg-1.4.5/lib/pg/exceptions.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg = nil, connection: nil, result: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg = nil, connection: nil, result: nil) ⇒ Error
Returns a new instance of Error.
10 11 12 13 14 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/pg-1.4.5/lib/pg/exceptions.rb', line 10 def initialize(msg=nil, connection: nil, result: nil) @connection = connection @result = result super(msg) end |