Introduced the concept of ErrorSubscribers

This will fix issue #1378