added NoRecordCreatedException and error view

there was an exception when a new repo was added but had no records yet