externalListItemNotFoundError
Hierarchy
- RuntimeError
- ListItemNotFoundError
Index
Constructors
externalconstructor
Parameters
externalmessage: string
Human-readable description of the error
externaloptionalcause: Error
The root cause of this
ListItemNotFoundError
, if any
Returns ListItemNotFoundError
Properties
publicexternaloptionalreadonlycause
The root cause of this RuntimeError
, if any
externalname
externalmessage
externaloptionalstack
Methods
staticexternalfromJSON
Parameters
externalserialised: JSONObject
Returns ListItemNotFoundError
externaltoString
Human-readable description of the error
Returns string
externaltoJSON
Returns object
Thrown to indicate that an
Interaction
, aTask
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.