ImplementationPendingError
Thrown to indicate that the Actor attempted to perform a Task or Interaction that hasn't been implemented yet.
Extends:
Error → RuntimeError → ImplementationPendingError
Examples:
A pending Task
import { Task } from '@serenity-js/core';
// A pending Task is one that encapsulates no other activities
const Authenticate = () =>
Task.where(`#actor authenticates with the service up a test database` );
A pending Interaction
import { Interaction } from '@serenity-js/core';
// A pending Interaction is one that doesn't perform any action
const DoubleClick = () =>
Interaction.where(`#actor double-clicks`);
Constructor Summary
Public Constructor | ||
public |
constructor(message: string, cause: Error) |
Inherited Summary
From class RuntimeError | ||
public |
name: * |
|
public |
stack: string |
|
public |
toString(): string Human-readable description |
Public Constructors
public constructor(message: string, cause: Error) source
Override:
RuntimeError#constructorParams:
Name | Type | Attribute | Description |
message | string | Human-readable description of the error |
|
cause | Error |
|
The root cause of this RuntimeError, if any |