onCaptureFailed

Called when error occurs.

Parameters

exception

Exception of error occurs