# Error callback

Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/ierror_callback_type_onvalues.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/ierror_callback_type_onvalues.html)

This callback is called asynchronously when there is an error in underlying modules while processing sensor data. The client must stop ongoing operations and clean up the resource and should start sensor session from the beginning.

Ierror_callback_type.onValues() Copy to clipboard

## Parameters

| Parameter | Data type | Description |
| --- | --- | --- |
| error | int | Error code. |
| sensor\_session\_id | int | Sensor’s session ID. |

**Parent Topic:** Sensor callbacks

Last Published: Nov 14, 2024

Previous Topic
 
Sensor callbacks Next Topic

Event callbacks