<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Gracefully handling SDK errors</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25245/gracefully-handling-sdk-errors</link><description>I have an application where knowledge of the current date/time is important. This is implemented by the central passing the time to the peripheral when it initially connects and then maintaining locally on the peripheral via the RTC. 
 However, the default</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Sep 2017 12:24:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25245/gracefully-handling-sdk-errors" /><item><title>RE: Gracefully handling SDK errors</title><link>https://devzone.nordicsemi.com/thread/99452?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 12:24:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65330727-dbd3-496c-8ab9-0431fcf952ec</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The default error checking (APP_ERROR_CHECK() ) used throughout our SDKs either resets your device or sends it to and endless while() loop allowing you to use a &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;debugger to see error codes and origins of the errors&lt;/a&gt;. This is only intended for debugging. An optimal handling of all scenarios is impossible to implement in an SDK since exactly what a graceful error handling looks like is also dependent your usecase. Hence, it is up to you to implement the best error handlers for your corner cases.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>