Closed marcvelmer closed 4 months ago
Path | Size |
---|---|
dist/index.js | 1.54 MB (+0.01% 🔺) |
dist/index.mjs | 1.54 MB (+0.01% 🔺) |
dist/index.umd.js | 1.55 MB (+0.01% 🔺) |
I still feel like the return could be some kind of custom error type...
try {
electionInfo = this.decryptMetadata(electionInformation, password);
censusInfo = await this.buildCensus(electionInfo);
} catch (e) {
throw new InvalidElectionError(e, electionId, electionInformation);
}
Fixes #391