Updated example code (#2156)
Updated example code (#2156)

* Updated example code

Updated example code for deprecationHandler to be more precise.

* Update handling-deprecations.md

skaterdav85/guides,tleskin/guides,tleskin/guides,skaterdav85/guides,skaterdav85/guides,skaterdav85/guides,tleskin/guides