fix error handling
fix error handling

close #464

lyonel/go-sqlite3,xeodou/go-sqlcipher,mattn/go-sqlite3,xeodou/go-sqlcipher,mattn/go-sqlite3,xeodou/go-sqlcipher,lyonel/go-sqlite3,accense/go-sqlite3,accense/go-sqlite3,accense/go-sqlite3,lyonel/go-sqlite3,mattn/go-sqlite3