Commit 8f9c53f6 authored by Martin Samson's avatar Martin Samson

Fixed exceptions so message are not outputted to STDERR

parent fa4f6883
......@@ -17,39 +17,9 @@
# Exception classes for the ruby-monetdb driver
class MonetDBQueryError < StandardError
def initialize(e)
$stderr.puts e
end
end
class MonetDBDataError < StandardError
def initialize(e)
$stderr.puts e
end
end
class MonetDBCommandError < StandardError
def initialize(e)
$stderr.puts e
end
end
class MonetDBConnectionError < StandardError
def initialize(e)
$stderr.puts e
end
end
class MonetDBSocketError < StandardError
def initialize(e)
$stderr.puts e
end
end
class MonetDBProtocolError < StandardError
def initialize(e)
$stderr.puts e
end
end
\ No newline at end of file
class MonetDBQueryError < StandardError; end
class MonetDBDataError < StandardError; end
class MonetDBCommandError < StandardError; end
class MonetDBConnectionError < StandardError; end
class MonetDBSocketError < StandardError; end
class MonetDBProtocolError < StandardError; end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment