cancel method

void cancel(
  1. int id
)

Sends a Canceled error to the dApp.

Implementation

void cancel(int id) {
  sendError("Canceled", id);
}