ListItemNotFoundError
Hierarchy
- RuntimeError
- ListItemNotFoundError
Index
Methods
staticfromJSON
Parameters
serialised: JSONObject
Returns ListItemNotFoundError
toString
Human-readable description of the error
Returns string
toJSON
Returns object
Properties
externalname
externalmessage
externaloptionalstack
publicoptionalreadonlycause
The root cause of this RuntimeError, if any
Constructors
constructor
Parameters
message: string
Human-readable description of the error
optionalcause: Error
The root cause of this ListItemNotFoundError, if any
Returns 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.