()
| 12 | |
| 13 | export class EmptyArrayError extends Error { |
| 14 | constructor() { |
| 15 | super('Given array is empty.'); |
| 16 | this.name = 'EmptyArrayError'; |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | export class NegativeIndexError extends Error { |
nothing calls this directly
no outgoing calls
no test coverage detected