From e81c19a867449db1df2193580eff0b2f486d0664 Mon Sep 17 00:00:00 2001 From: Kamal Kishor Sharma Date: Mon, 30 Nov 2015 18:02:44 +0530 Subject: [PATCH] Update error-handling-and-debugging.md --- sdk/android/guide/error-handling-and-debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/android/guide/error-handling-and-debugging.md b/sdk/android/guide/error-handling-and-debugging.md index 115ee07..a1373d7 100644 --- a/sdk/android/guide/error-handling-and-debugging.md +++ b/sdk/android/guide/error-handling-and-debugging.md @@ -1,6 +1,6 @@ **Error Handling** -Whenever an error occurs while executing a method from iFlyChatLibrary SDK, an intent will be broadcasted with an iFlyChatError object. To test the working of your app with iFlyChatLibrary SDK, you need to add iFlyChat.onError action to your intent filter in `onStart()` method. +Whenever an error occurs while executing a method from iFlyChatLibrary SDK, an intent will be broadcasted with an `iFlyChatError` object. To test the working of your app with iFlyChatLibrary SDK, you need to add `iFlyChat.onError` action to your intent filter in `onStart()` method. To listen to this broadcast and receive the event `iFlyChat.onError`, the user needs to match the intent action in the application's `onReceive()` method. To retrieve the `iFlyChatError` object, the user needs to create and initialize the Bundle type object `bundleData` and then the user can get `iFlyChatError` object by calling `getParceleable("error")` method on `bundleData` a Bundle type object : ```