How can we throw an exception? Our use case: we want to throw an error if there is nonprd config in production configuration