Skip to main content

ListItemNotFoundError

Thrown to indicate that an Interaction, a Task or a test scenario can’t be executed due to no items are found in a list.

For example, it’s not possible to get the first() or the last() item of a list if the list is empty.

Hierarchy

Index

Constructors

constructor

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