Home | History | Annotate | Download | only in webdatabase

Lines Matching defs:sqlError

32 #include "modules/webdatabase/SQLError.h"
104 SQLErrorData* SQLStatementBackend::sqlError() const
136 m_error = SQLErrorData::create(SQLError::DATABASE_ERR, "could not prepare statement", result, "interrupted");
138 m_error = SQLErrorData::create(SQLError::SYNTAX_ERR, "could not prepare statement", result, database->lastErrorMsg());
147 m_error = SQLErrorData::create(SQLError::SYNTAX_ERR, "number of '?'s in statement string does not match argument count");
161 db->reportExecuteStatementResult(3, SQLError::DATABASE_ERR, result);
162 m_error = SQLErrorData::create(SQLError::DATABASE_ERR, "could not bind value", result, database->lastErrorMsg());
184 db->reportExecuteStatementResult(4, SQLError::DATABASE_ERR, result);
185 m_error = SQLErrorData::create(SQLError::DATABASE_ERR, "could not iterate results", result, database->lastErrorMsg());
197 db->reportExecuteStatementResult(6, SQLError::CONSTRAINT_ERR, result);
198 m_error = SQLErrorData::create(SQLError::CONSTRAINT_ERR, "could not execute statement due to a constaint failure", result, database->lastErrorMsg());
201 db->reportExecuteStatementResult(5, SQLError::DATABASE_ERR, result);
202 m_error = SQLErrorData::create(SQLError::DATABASE_ERR, "could not execute statement", result, database->lastErrorMsg());
218 database->reportExecuteStatementResult(7, SQLError::VERSION_ERR, 0);
219 m_error = SQLErrorData::create(SQLError::VERSION_ERR, "current version of the database and `oldVersion` argument do not match");
225 database->reportExecuteStatementResult(8, SQLError::QUOTA_ERR, 0);
226 m_error = SQLErrorData::create(SQLError::QUOTA_ERR, "there was not enough remaining storage space, or the storage quota was reached and the user declined to allow more space");
237 return m_error && m_error->code() == SQLError::QUOTA_ERR;