applyErrorResult function

void applyErrorResult(
  1. PtrContext ctx,
  2. String message, [
  3. int? errorCode
])

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);
}