Exception: PG::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/pg-1.4.5/lib/pg/exceptions.rb

Direct Known Subclasses

NotAllCopyDataRetrieved, NotInBlockingMode

Instance Method Summary collapse

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