I think raise NotConfiguredError would be better