Search

 

Module:Editor

Version:24.03 +

Type:Long

Category:Document

 

Description

The CountException formula is a tool to record and count the number of intentional exceptions that have occurred in the application. This formula can be used to detect whether errors have occured and returns the total number of exceptions that have occured while executing the Futurama session. This formula can be used in combination with the formula ReadException, to return information about what went wrong.

Parameters

Reset_count:

Here you can choose between True or False. True means that the number is reset to 0 after a session has ended.

Example

Description

For this example, set up a RecordException formula and a CountException formula on a webpage. Each time an intentional exception occurs, it is counted and recorded by these formulas.

Values parameters

Reset_count:

True

Result

Run your webpage in a browser and intentional exception will be recorded, displayed and counted on the webpage.

Related Topics

- ThrowException

- ReadException

Updated: 2024-04-04