Alter new MySQL error handling to conform to our MSSQL standards