onError

Syntax

onError(event)

Description

Fires when there is error.