Sha256: 46f4a277f8b5ee69d829e1698fe71dba00d47429811cb8e55ecc3f8764fc8f2b

Contents?: true

Size: 266 Bytes

Versions: 4

Compression:

Stored size: 266 Bytes

Contents

# -*- ruby -*-
# frozen_string_literal: true

require 'pg' unless defined?( PG )


module PG

	class Error < StandardError
		def initialize(msg, connection: nil, result: nil)
			@connection = connection
			@result = result
			super(msg)
		end
	end

end # module PG

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pg-1.4.0-x86-mingw32 lib/pg/exceptions.rb
pg-1.4.0-x64-mingw-ucrt lib/pg/exceptions.rb
pg-1.4.0-x64-mingw32 lib/pg/exceptions.rb
pg-1.4.0 lib/pg/exceptions.rb