Adds ConfigurationError exception.