Sha256: dc141ceb6a468ffc403153cfef1fa071dd5a357b0d63ace2f41472b51583c32e

Contents?: true

Size: 399 Bytes

Versions: 31

Compression:

Stored size: 399 Bytes

Contents

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

require 'pg' unless defined?( PG )


module PG

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

	class NotAllCopyDataRetrieved < PG::Error
	end
	class LostCopyState < PG::Error
	end
	class NotInBlockingMode < PG::Error
	end

end # module PG

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
pg-1.5.6-x64-mingw-ucrt lib/pg/exceptions.rb
pg-1.5.6-x64-mingw32 lib/pg/exceptions.rb
pg-1.5.6-x86-mingw32 lib/pg/exceptions.rb
pg-1.5.6 lib/pg/exceptions.rb
pg-1.5.5-x86-mingw32 lib/pg/exceptions.rb
pg-1.5.5-x64-mingw32 lib/pg/exceptions.rb
pg-1.5.5-x64-mingw-ucrt lib/pg/exceptions.rb
pg-1.5.5 lib/pg/exceptions.rb
pg-1.5.4-x86-mingw32 lib/pg/exceptions.rb
pg-1.5.4-x64-mingw32 lib/pg/exceptions.rb
pg-1.5.4-x64-mingw-ucrt lib/pg/exceptions.rb
pg-1.5.4 lib/pg/exceptions.rb
pg-1.5.3-x64-mingw32 lib/pg/exceptions.rb
pg-1.5.3-x64-mingw-ucrt lib/pg/exceptions.rb
pg-1.5.3-x86-mingw32 lib/pg/exceptions.rb
pg-1.5.3 lib/pg/exceptions.rb
pg-1.5.2-x64-mingw32 lib/pg/exceptions.rb
pg-1.5.2-x64-mingw-ucrt lib/pg/exceptions.rb
pg-1.5.2 lib/pg/exceptions.rb
pg-1.5.1-x86-mingw32 lib/pg/exceptions.rb