error static method

String error()

Implementation

static String error() {
  var script = "if (window.BootpayError && window.BootpayError.postMessage) { BootpayError.postMessage(JSON.stringify(data)); }";
  // var script = "BootpayError.postMessage(JSON.stringify(data));";
  return "else { $script };";
}