onError property

(void Function(int errCode, String errMsg)?) onError
final

Error Event Callback

Error event, which indicates that the SDK threw an irrecoverable error such as room entry failure or failure to start device.

For more information, see Error Codes.

  • Parameters:
    • errCode(int):
      • Error code.
    • errMsg(String):
      • Error message.

Implementation

final void Function(int errCode, String errMsg)? onError;