UNPKG

@serenity-js/web

Version:

Serenity/JS Screenplay Pattern library offering a flexible, web driver-agnostic approach for interacting with web-based user interfaces and components, suitable for various testing contexts

18 lines (16 loc) 540 B
import { RuntimeError } from '@serenity-js/core'; /** * Thrown when the [cookie](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies) * you're trying to retrieve has not been set yet. * * ## Learn more * - [`Cookie`](https://serenity-js.org/api/web/class/Cookie/) * - [`RuntimeError`](https://serenity-js.org/api/core/class/RuntimeError/) * * @group Errors */ export class CookieMissingError extends RuntimeError { constructor(message: string, cause?: Error) { super(CookieMissingError, message, cause); } }