error_reset

Resets error state.

Target function

Signature

1error_reset()

Resets error state.

error_reset is a global callable that can be used wherever an expression is valid. error_reset helps report or recover from failures. Use it to make the expected failure path visible instead of hiding errors in a broad catch.

Examples

Basic call

1error_reset
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.