externalLogicError
Hierarchy
- RuntimeError
- LogicError
Index
Constructors
externalconstructor
Parameters
externalmessage: string
Human-readable description of the error
externaloptionalcause: Error
The root cause of this
RuntimeError
, if any
Returns LogicError
Properties
publicexternaloptionalreadonlycause
The root cause of this RuntimeError
, if any
externalname
externalmessage
externaloptionalstack
Methods
staticexternalfromJSON
Parameters
externalserialised: JSONObject
Returns LogicError
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 a logical error.For example, it's not possible to assert on the last HTTP Response if the request hasn't been performed yet.