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.
Extends:
Error → RuntimeError → LogicError
Constructor Summary
Public Constructor | ||
public |
constructor(message: string, cause: Error) |
Inherited Summary
From class RuntimeError | ||
public |
name: * |
|
public |
stack: string |
|
public |
toString(): string Human-readable description |
Public Constructors
public constructor(message: string, cause: Error) source
Override:
RuntimeError#constructorParams:
Name | Type | Attribute | Description |
message | string | Human-readable description of the error |
|
cause | Error |
|
The root cause of this RuntimeError, if any |