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

21 lines 727 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CookieMissingError = void 0; const core_1 = require("@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 */ class CookieMissingError extends core_1.RuntimeError { constructor(message, cause) { super(CookieMissingError, message, cause); } } exports.CookieMissingError = CookieMissingError; //# sourceMappingURL=CookieMissingError.js.map