Skip to main content

ImplementationPendingError

Thrown to indicate that the Actor attempted to perform a Task or Interaction that hasn’t been implemented yet.

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`)

Hierarchy

Index

Constructors

constructor

  • Parameters

    • message: string

      Human-readable description of the error

    • optionalcause: Error

      The root cause of this RuntimeError, if any

    Returns ImplementationPendingError

Properties

externalname

name: string

externalmessage

message: string

externaloptionalstack

stack?: string

publicoptionalreadonlycause

cause?: Error

The root cause of this RuntimeError, if any

Methods

staticfromJSON

toString

  • toString(): string
  • Human-readable description of the error


    Returns string

toJSON

  • toJSON(): object
  • Returns object