# File lib/dnsruby/resolver.rb, line 284 def query_raw(message, error_strategy = :return) unless [:return, :raise].include?(error_strategy) raise ArgumentError.new('error_strategy should be one of [:return, :raise].') end response, error = send_plain_message(message) if error_strategy == :return [response, error] else raise error if error response end end