Added ability to use custom error stores from config

Previously, custom error stores could be used only using registration by code, I've added possibility to use configuration for custom error stores.