UNPKG

@ldrick/trade-indicators

Version:
13 lines (12 loc) 336 B
/** * Error if two `Array` do not have the same length. * * @internal */ export class UnequalArraySizesError extends Error { constructor(message = 'Amounts of given values are not equal.') { super(message); this.name = 'UnequalArraySizesError'; Object.setPrototypeOf(this, new.target.prototype); } }