LogicError
Hierarchy
- RuntimeError
- LogicError
Index
Methods
staticfromJSON
Parameters
serialised: JSONObject
Returns LogicError
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 RuntimeError, if any
Returns LogicError
Thrown to indicate that an Interaction, a Task or a test scenario can’t be executed due to a logical error.
For example, it’s not possible to assert on the last HTTP Response if the request hasn’t been performed yet.