error method

dynamic error(
  1. dynamic event
)

Implementation

external error(event);