Using the custom Exception for config error