setErrorCallback

Can be set in order to be notified about errors encountered during rendering.