fixes #7; move mod-manager/error-code.json -> core/mod-errcode.json