Sha256: 5e2aa74fade8b30dcbb0b05b2aef037f75b84f8f28699feddacabbc6b608cab9

Contents?: true

Size: 460 Bytes

Versions: 3

Compression:

Stored size: 460 Bytes

Contents

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

require 'yugabyte_ysql' unless defined?( YugabyteYSQL )


module YugabyteYSQL

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

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

end # module PG

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yugabyte_ysql-0.3 lib/pg/exceptions.rb
yugabyte_ysql-0.2 lib/pg/exceptions.rb
yugabyte_ysql-0.1 lib/pg/exceptions.rb