# error

The keyword error denotes one of the distinguished values of verdicttype.

- It is set by the test system (returned by the operation execute) to indicate that a run-time error has occurred.
- It is also returned by the above operation when a test case started with a guard timer has not finished within the given time limit.
- It shall not be set by the setverdict operation and will not be returned by the getverdict operation.

Related keywords:

- execute
- fail
- getverdict
- inconc
- none
- pass
- setverdict
- verdicttype

### error

Example 1:

var verdicttype v_dyrbart;
v_dyrbart := execute(tc_vizsgaalat);

There was a programming error when the test case tc_vizsgaalat was executed, thus, the variable v_dyrbart will hold the value error.

BNF definition of error