error method

void error([
  1. dynamic reason
])

Implementation

void error([dynamic reason]) => js_util.callMethod(this, 'error', [reason]);