Skip to main content

externalImplementationPendingError

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

externalconstructor

  • Parameters

    • externalmessage: string

      Human-readable description of the error

    • externaloptionalcause: Error

      The root cause of this RuntimeError, if any

    Returns ImplementationPendingError

Properties

publicexternaloptionalreadonlycause

cause?: Error

The root cause of this RuntimeError, if any

externalname

name: string

externalmessage

message: string

externaloptionalstack

stack?: string

Methods

staticexternalfromJSON

externaltoString

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


    Returns string

externaltoJSON

  • toJSON(): object
  • Returns object