Returns last database error as DMPACK error code, optionally the
SQLite error code in argument sqlite_error. This function matches
an SQLite error code to the corresponding DMPACK error code. For
example, if the last SQLite error is SQLITE_OK, the function
returns E_NONE.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_type), | intent(inout) | :: | db | Database type. | ||
| integer, | intent(out), | optional | :: | sqlite_error | SQLite error code. |