onError

Syntax

onError(event)

Description

Fires when an error occurs.