Renamed module to error-factory