There is a "peer removed pairing information" error

I'm developing an app that communicates with iOS apps using Nordic's services.
I got this error during development. 
I have three questions about the "peer removed pairing information" error.
 1. Can this error occur due to a bug in the implementation of the app?
 2. Is there a way to intentionally reproduce and debug? 
 3. Is there anything the app can do to prevent this error from occurring?
 How to deal with it after it happened was discussed in other threads,
 but I would like to know if there is a way to avoid it.
Related