Skip to content

Commit

Permalink
Update error-handling-and-debugging.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalkishor committed Nov 30, 2015
1 parent 4b59470 commit e81c19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/android/guide/error-handling-and-debugging.md
Original file line number Diff line number Diff line change
@@ -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 :
```
Expand Down

0 comments on commit e81c19a

Please sign in to comment.