changed error#to$ word to return the sqlite3 error string if it finds one