More descriptive message when we fail with a "Double registration of singleton" error
authorDhruv Matani <dhruvbird@fb.com>
Sat, 15 Aug 2015 15:37:23 +0000 (08:37 -0700)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Sat, 15 Aug 2015 16:20:20 +0000 (09:20 -0700)
commitce403dac41c9b99eeaa6d5aea4c5b543da05c149
treea8927a6ab958ec695e585b2f2a7f79f1ed325d40
parente71c842cc8fa98a0362c3be418646e3af1297495
More descriptive message when we fail with a "Double registration of singleton" error

Summary: When we FATAL with a "Double registration of singleton" error, make it abundantly clear why such a thing could have happended so that the developer doesn't feel lost.

Reviewed By: @chipturner

Differential Revision: D2345728
folly/Singleton-inl.h