Method: Mysql::ServerProtocol#error

Defined in:
lib/nose/proxy/mysql.rb

#error(errno, message) ⇒ Object

Send an error message with the given number and text



107
108
109
# File 'lib/nose/proxy/mysql.rb', line 107

def error(errno, message)
  write ErrorPacket.serialize errno, message
end