10 lines
244 B
TypeScript
10 lines
244 B
TypeScript
/**
|
|
* Error thrown when a waitFor timeout is reached
|
|
*/
|
|
export class WaitForTimeoutError extends Error {
|
|
constructor(type: string) {
|
|
super(`Timeout waiting for event "${type}"`);
|
|
this.name = 'WaitForTimeoutError';
|
|
}
|
|
}
|