MCPcopy Create free account
hub / github.com/SkalskiP/make-sense / constructor

Method constructor

src/utils/ArrayUtil.ts:14–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13export class EmptyArrayError extends Error {
14 constructor() {
15 super('Given array is empty.');
16 this.name = 'EmptyArrayError';
17 }
18}
19
20export class NegativeIndexError extends Error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected