applyErrorResult function
Use by Database to response an error to SQLite.
Implementation
void applyErrorResult(sqlite.PtrContext ctx, String message, [int? errorCode]) {
Driver.binder.result_error(ctx, message);
if (errorCode != null) Driver.binder.result_error_code(ctx, errorCode);
}