config: Change ConfigException to extend LogicException