Sha256: fc080b480cca58f090ddcaaf9bc912de63ba9b3c8737154de4c94938e3627b89

Contents?: true

Size: 411 Bytes

Versions: 5

Compression:

Stored size: 411 Bytes

Contents

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

require 'ysql' unless defined?( YSQL )


module YSQL

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

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

end # module PG

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yugabytedb-ysql-0.7 lib/ysql/exceptions.rb
yugabytedb-ysql-0.6 lib/ysql/exceptions.rb
yugabytedb-ysql-0.5 lib/ysql/exceptions.rb
yugabytedb-ysql-0.4 lib/ysql/exceptions.rb
yugabytedb-ysql-0.3 lib/pg/exceptions.rb