ecclesia
Version:
Framework for political and electoral simulations
12 lines • 557 B
JavaScript
/**
* To be thrown when an attribution fails to attribute seats,
* but only in a case where it's an expected limitation of the attribution method.
* The typical example being the Condorcet standoff, or a majority threshold,
* but a tie could be another example (though they are usually not checked in provided implementations).
*
* Other errors may and will be raised by the attribution methods for other reasons,
* such as invalid input data, division by zero...
*/
export class AttributionFailure extends Error {
}
//# sourceMappingURL=base.js.map